Unable to join meeting ionic app

@martin.ley @chunsiong.zoom
I have successfully built the android app.
App is crashing on Android 12 but working fine on android version below 12.

Please help.

@bhamra
For us it’s working on Android 12. Can you provide an error message and a stack trace?

@martin.ley
Thanks for your response.
There is no error message. app is built successfully.
All other features are working fine on Android 12 as well. just the zoom sdk part not working. When we try to initialize zoom sdk app crashes.
But on other devices having android version below 12 zoom also work fine.
If you have time can you please look into it on anydesk.
I really need to resolve it at the earliest.
Thanks

Can you see any error message when the app is crashing via logcat?

Here is logcat error

java.lang.SecurityException: Need android.permission.BLUETOOTH_CONNECT permission for android.content.AttributionSource@7cfc1718: HeadsetService
at android.os.Parcel.createExceptionOrNull(Parcel.java:2439)
at android.os.Parcel.createException(Parcel.java:2423)
at android.os.Parcel.readException(Parcel.java:2406)
at android.os.Parcel.readException(Parcel.java:2348)
at android.bluetooth.IBluetoothHeadset$Stub$Proxy.getConnectedDevicesWithAttribution(IBluetoothHeadset.java:1040)
at android.bluetooth.BluetoothHeadset.getConnectedDevices(BluetoothHeadset.java:601)
at us.zoom.androidlib.util.HeadsetUtil$1.onServiceConnected(HeadsetUtil.java:108)
at android.bluetooth.BluetoothHeadset$3.handleMessage(BluetoothHeadset.java:1491)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:233)
at android.os.Looper.loop(Looper.java:334)
at android.app.ActivityThread.main(ActivityThread.java:8278)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:582)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1065)

Looks like you need to add the BLUETOOTH_CONNECT permission to your Android Manifest.

Added bluetooth permissions to Android Manifest. Now getting following error.

java.lang.RuntimeException: Unable to create service com.zipow.videobox.share.ScreenShareServiceForSDK: java.lang.IllegalArgumentException: com.harpreet.academy: 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.
    at android.app.ActivityThread.handleCreateService(ActivityThread.java:4793)
    at android.app.ActivityThread.access$1900(ActivityThread.java:277)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2269)
    at android.os.Handler.dispatchMessage(Handler.java:106)
    at android.os.Looper.loopOnce(Looper.java:233)
    at android.os.Looper.loop(Looper.java:334)
    at android.app.ActivityThread.main(ActivityThread.java:8278)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:582)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1065)
 Caused by: java.lang.IllegalArgumentException: com.harpreet.academy: 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.
    at android.app.PendingIntent.checkFlags(PendingIntent.java:375)
    at android.app.PendingIntent.getActivityAsUser(PendingIntent.java:458)
    at android.app.PendingIntent.getActivity(PendingIntent.java:444)
    at android.app.PendingIntent.getActivity(PendingIntent.java:408)
    at us.zoom.sdk.SDKNotificationMgr.showConfNotificationForSDK(SDKNotificationMgr.java:10)
    at com.zipow.videobox.share.ScreenShareServiceForSDK.onCreate(ScreenShareServiceForSDK.java:3)
    at android.app.ActivityThread.handleCreateService(ActivityThread.java:4780)
    	... 9 more

2022-08-21 16:10:36.285 24228-24228/com.harpreet.academy E/ZmRomUtils: getSystemProperty exception, key=ro.miui.ui.version.code
java.io.FileNotFoundException: /system/build.prop: open failed: EACCES (Permission denied)
at libcore.io.IoBridge.open(IoBridge.java:574)
at java.io.FileInputStream.(FileInputStream.java:160)
at us.zoom.androidlib.utils.ZmRomUtils.getSystemProperty(ZmRomUtils.java:93)
at us.zoom.androidlib.utils.ZmRomUtils.getMIUIVersionCode(ZmRomUtils.java:74)
at us.zoom.androidlib.utils.ZmRomUtils.isImmersedModeSupported(ZmRomUtils.java:61)
at com.zipow.videobox.ConfActivity.isImmersedModeEnabled(ConfActivity.java:1)
at com.zipow.videobox.ConfActivityNormal.onCreate(ConfActivityNormal.java:9)
at android.app.Activity.performCreate(Activity.java:8318)
at android.app.Activity.performCreate(Activity.java:8298)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1329)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3873)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:4057)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:103)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2407)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:233)
at android.os.Looper.loop(Looper.java:334)
at android.app.ActivityThread.main(ActivityThread.java:8278)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:582)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1065)
Caused by: android.system.ErrnoException: open failed: EACCES (Permission denied)
at libcore.io.Linux.open(Native Method)
at libcore.io.ForwardingOs.open(ForwardingOs.java:563)
at libcore.io.BlockGuardOs.open(BlockGuardOs.java:274)
at libcore.io.ForwardingOs.open(ForwardingOs.java:563)
at android.app.ActivityThread$AndroidOs.open(ActivityThread.java:8164)
at libcore.io.IoBridge.open(IoBridge.java:560)
at java.io.FileInputStream.(FileInputStream.java:160)
at us.zoom.androidlib.utils.ZmRomUtils.getSystemProperty(ZmRomUtils.java:93)
at us.zoom.androidlib.utils.ZmRomUtils.getMIUIVersionCode(ZmRomUtils.java:74)
at us.zoom.androidlib.utils.ZmRomUtils.isImmersedModeSupported(ZmRomUtils.java:61)
at com.zipow.videobox.ConfActivity.isImmersedModeEnabled(ConfActivity.java:1)
at com.zipow.videobox.ConfActivityNormal.onCreate(ConfActivityNormal.java:9)
at android.app.Activity.performCreate(Activity.java:8318)
at android.app.Activity.performCreate(Activity.java:8298)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1329)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3873)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:4057)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:103)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2407)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:233)
at android.os.Looper.loop(Looper.java:334)
at android.app.ActivityThread.main(ActivityThread.java:8278)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:582)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1065)

have a look (same errors - Android 12: BLUETOOTH_CONNECT , … )

Thanks @j.schoenemeyer

I have already resolved Bluetooth permission error.
New error is
java.lang.RuntimeException: Unable to create service com.zipow.videobox.share.ScreenShareServiceForSDK: java.lang.IllegalArgumentException: com.harpreet.academy: Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent.

Many users has reported this error but no solution has been provided by Zoom Team yet.

If you set targetSdkVersion 31 or above you will get this error. Zoom Android SDK doesn’t fully support Android 12.

@martin.ley
Thanks for your help. I have successfully build android app which is working fine on android 12 as well.
but Zoom Team should provide solution for targetSdkVersion 31 or above.

Could you please share the sdk over email. My email Id is
[redacted]

@chunsiong.zoom Thanks for all your help so far. Our current scenario is we have an Ionic app which is using the old SDK. What would be the correct path moving forward to continue using Zoom on our Ionic App without missing any of the current functionalities?

We considered moving to the Web SDK but currently it doesn’t support Gallery View and 720p video on mobile browsers (we have several customers using Android tablets and iPads).

Switching over to RN or native won’t be a viable solution as your temporary fix will be discontinued in Nov 5th, we don’t have time to write the app from scratch.

Please advice.

Hello Chung!

Could you please share it with me as well? My email is

redacted

Thank you!

Hello Chung!

Could you please share it with me as well? My email is [redacted]

Thank you!

Hello Chung!

Could you please share it with me as well? My email is [redacted]

Thank you!

Hello Chung!

Could you please share it with me as well? My email is [redacted]

Thank you!

Ionic has been official out of support for a while now. Nonetheless the version shared is provided as a break fix for the current upgrade requirement.

Moving forward, the upgrade path would be towards iOS and Android SDK.

There is a chance (unofficial) you might be able to upgrade ionic to the latest meeting SDK, but there is no official support provided for troubleshooting.

Hello Chung!

Could you please share it with me as well? My email is [redacted]

Thank you!

Hi there,

Where can I find this break fix version?

" Ionic has been official out of support for a while now. Nonetheless **the version shared is provided as a break fix for the current upgrade requirement ."

where is the break fix version?

I can’t reach the 5.4 version in the repository:

Lastest it’s 5.36.0