Insta360Develop / CameraSDK-Android

Android SDK to control Insta360 cameras
80 stars 9 forks source link

Google Play store rejects apps with current SDK #37

Open devon3000 opened 1 year ago

devon3000 commented 1 year ago

As of November 2022, Google now requires apps to target API level 31 or above.

The Insta360 SDK targets level 28, and as a result, no Android app using the Insta360 SDK can currently be distributed in the Google Play Store. This problem most likely affects all users of the Insta360 SDK.

Devs, can you please rebuild the Insta360 SDK with the updated level target?

hoonsa-lim commented 1 year ago

same issue!

devon3000 commented 1 year ago

@EternalSoySauce

prasad2904 commented 1 year ago

the problem appears to be in the AppUsbService which creates a PendingIndent when a usb device is attached. The API 31 requires that either FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent. Without it we getting an exception when a camera is reconnected while the app is running.

This should be a small change and recompile of the SDK, but it's been very difficult getting a response from the Insta team.

EternalSoySauce commented 1 year ago

Please use v1.5.3

prasad2904 commented 1 year ago

@EternalSoySauce Thank you for addressing this issue. Insta sdk 1.5.3 appears to work fine and is API 31 compatible. Happy to see the team actively respond to bug reports on github.

jainSamy commented 1 year ago

Hello , I am jainSamy , Integrate Insta 360 SDk on android app // app configuration compileSdkVersion 33 targetSdkVersion 33 minSdkVersion 21

// i am use this dependencies implementation 'com.arashivision.sdk:sdkcamera:1.5.3' implementation 'com.arashivision.sdk:sdkmedia:1.5.3'

After setUp all this and build the project i got this Error : Unsupported or unrecognized SSL message but it work on Api label 28 . Please response team its urgent

Thanks.

Tianweihaihaihai commented 1 year ago

Hello , I am jainSamy , Integrate Insta 360 SDk on android app // app configuration compileSdkVersion 33 targetSdkVersion 33 minSdkVersion 21

// i am use this dependencies implementation 'com.arashivision.sdk:sdkcamera:1.5.3' implementation 'com.arashivision.sdk:sdkmedia:1.5.3'

After setUp all this and build the project i got this Error : Unsupported or unrecognized SSL message but it work on Api label 28 . Please response team its urgent

Thanks.

Had replied in the other issue