App will crash for two reasons of the of following reasons.
JNI DETECTED ERROR IN APPLICATION: JNI CallIntMethodV called with pending exception java.lang.SecurityException: getCallState: Neither user 10526 nor current process has android.permission.READ_PHONE_STATE. is the error but we have this permission on the manifest file
Even though we have the permission. If i manually set permissions we get to the final error/crash from the zoom SDK.
- Log is the following:
java.lang.RuntimeException: Unable to create service com.zipow.videobox.share.ScreenShareServiceForSDK: java.lang.IllegalArgumentException: com.campgladiator: Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent. Strongly consider using FLAG_IMMUTABLE, only use FLAG_MUTABLE if some functionality depends on the PendingIntent being mutable, e.g. if it needs to be used with inline replies or bubbles.
Which Android Meeting SDK version?
To Reproduce(If applicable)
Steps to reproduce the behavior:
- Use a phone with Android 12 beta
- Try joining a meeting
- notice crash/errors
- See error
If applicable, add screenshots to help explain your problem.
Smartphone (please complete the following information):
- Device: [Pixel 3a]
- OS: [Android 12 Beta]
Only occurs when on devices that are running s+ (sdk 31 and above)