LogmeinRescue / Android-SDK

Rescue In-App Support Android SDK
http://secure.logmeinrescue.com/welcome/webhelp/EN/SDKa/MobileSDK/c_rasdk_overview.html
Other
5 stars 6 forks source link

Critical : Secondary Display issue in Android Oreo #17

Closed sarath-natesan-dev closed 6 years ago

sarath-natesan-dev commented 6 years ago

In Android Oreo devices, one the DeviceScreenStreaming is started, the app exits with a toast as This app does not support launch on secondary displays.

STEPS TO REPRODUCE

Also inconsistently, we are noticing that the device screen is magnified in the Technician console as well.

We assume that this is because of the Multi Display support in Android Oreo as said here.

Please let us know, how to address the issue.

balazsbanyai commented 6 years ago

Hello,

We've tried to reproduce the issue with the device screen streaming demo application on both emulators and physical devices, with no luck. We also enabled simulation of secondary displays, but the isse still didn't show. When we click on the Start now button on the devices, the streaming always starts, and we could not observe the toast that you mentioned.

Did you experience this issue with the demo application, or your own app? Could you let us know what kind of device have you been testing with? Regarding the "magnification", could you attach a screenshot?

Thank you very much, Balazs

sarath-natesan-dev commented 6 years ago

Hello,

We have been noticing this behaviour in our Application.

We tested it in the following device: Device Model: Google Pixel OS Version: Android Oreo(8.1.0)

Regarding magnification, we have noticed it few times at the Initial stages, but then we didn't notice it. We will update you with a screenshot, if we come across the scenario.

Thanks.

balazsbanyai commented 6 years ago

Hello,

Thank you for the information. Could you go ahead and try to reproduce it with the demo app? If you succeed, please describe the reproduction steps, so we can test it as well.

Could you tell us the target api level of the embedder app?

Balazs

On Mon, May 14, 2018, 6:01 PM Sarath notifications@github.com wrote:

Hello,

We have been noticing this behaviour in our Application.

We tested it in the following device: Device Model: Google Pixel OS Version: Android Oreo(8.1.0)

Regarding magnification, we have noticed it few times at the Initial stages, but then we didn't notice it. We will update you with a screenshot, if we come across the scenario.

Thanks.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/LogmeinRescue/Android-SDK/issues/17#issuecomment-388870426, or mute the thread https://github.com/notifications/unsubscribe-auth/ALltU_widCYfk0DPaqy7H57RSX-MDDlUks5tyaprgaJpZM4T7SNI .

sarath-natesan-dev commented 6 years ago

Hello,

The target API level of the PocketGeek app is 25.

And we are able to check App Screen Sharing & Camera Streaming in the LogMeIn Demo app, but not Device Screen Sharing. We used the same Package ID as well as the API Key. It is working perfectly fine in our app.

The session gets connected successfully and in the Technician console, we not able to see the Device screen. It has only the feature of Adding and Viewing Session Notes.

Please let us know how to proceed further.

Thanks.

balazsbanyai commented 6 years ago

Hi,

Now I get your point. We're terribly sorry about this, as the issue lies in the insufficient documentation of the SDK. I'll leave this issue open until we resolve that, and in the meanwhile, I can offer two workarounds:

Option 1:

Option 2

Please let us know if we can assist any further.

sarath-natesan-dev commented 6 years ago

Hello Balazs,

Are the above solutions recommedned for the Device Streaming issue in the LogMeIn Demo app? Or Android Oreo issue?

Thanks

balazsbanyai commented 6 years ago

Any of these should result in the proper functionality of the demoapp, so you can proceed with trying to reproduce the original issue using the demo app.

Your help is much appreciated, Balazs

On Thu, May 17, 2018, 6:27 PM Sarath notifications@github.com wrote:

Hello Balazs,

Are the above solutions recommedned for the Device Streaming issue in the LogMeIn Demo app? Or Android Oreo issue?

Thanks

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/LogmeinRescue/Android-SDK/issues/17#issuecomment-389927409, or mute the thread https://github.com/notifications/unsubscribe-auth/ALltU_EuDMm-5cJLLxa7gEG51qI7MezRks5tzaT9gaJpZM4T7SNI .

balazsbanyai commented 6 years ago

As we discussed earlier, we suggest to make your application non-resizable explicitly by using the android:resizableActivity on your <application>. This requirement will be added to the documentation of the SDK. In case you do need your app to be resizable, please open a separate issue.