Our team faced several significant challenges during the project.
Firstly, we needed to navigate the strict permissions requirements for screen recording on both Android and iOS platforms. For Android, the app needed to record the screen and audio, whereas iOS only permitted screen recording for third-party software, posing an initial obstacle.
The disparity in screen recording capabilities between iOS and Android added another layer of complexity. With the introduction of Android version 14, permissions for MediaProjection were altered significantly. If we requested screen recording permissions before displaying a notification, the result was a black screen recording. Conversely, if we displayed the notification before obtaining recording consent, the app would crash onto the home screen.
The restrictions on the iOS side were equally challenging. iOS generally does not allow apps to remain active in the background, which poses a significant limitation for continuous screen recording. Additionally, iOS does not permit audio capture from the screen, further complicating our goal of providing a seamless screen-sharing experience.