07-15-2022 01:59 PM
Hi all,
I developed an Android App that used Webex 3.4.0 SDK.
In the app, I am using OAuthWebViewAuthenticator for Webex authentication.
All are working fine but whenever I installed a release build with minifyEnabled configuration set to true, it will crash every time at a certain step.
The crash happened after I input the webex account id (for example abc@test.com) for the OAuthWebViewAuthenticator.
Also the Webex WebView didn't show up at all.
The logcat showed this exception:
No pending exception expected: java.lang.ClassNotFoundException: com.webex.wseclient.WseEngine
Any ideas how to resolve this?
Thank you,
Handi
07-20-2022 09:54 AM
Hi @sandiban,
I don't know whether you got a notification on the reply I did on 7/18.
Basically, the crash issue still occurred with Android SDK v3.5.0.
And same error message: 2022-07-18 16:50:13.440 18482-18482/? No pending exception expected: java.lang.ClassNotFoundException: com.webex.wseclient.WseEngine
Do you have any other suggestion?
Thank you,
Handi
07-16-2022 09:40 AM
Hi @handitan,
It looks like our Webex Developer Support team and SDK Engg. team is already on top of this and possibly you already opened a Zendesk case for the same - https://voxeolabs.zendesk.com/agent/tickets/108615
As in the last communication over the Zendesk case, were you able to join the Webex space provided there?
This space should help you going forward since our SDK Engg. is also there.
Let us know if you're not able to join the space directly, in that case we'll get you added there and you can also follow up on the opened Zendesk case as well for further updates.
Regards,
Sandip
07-16-2022 01:41 AM
Hi @handitan
Thanks for raising the query over our Community Forum.
As I can see, currently you're using the Android SDK version 3.4.0 and you mentioned - "All are working fine but whenever I installed a release build..."
So, I just wanted to check if you anyway installed the latest build which is 3.5.0 available here - https://github.com/webex/webex-android-sdk
So, if I understand that with v3.4.0 everything is fine an only with the latest build i.e., v3.5.0 along with the minifyEnabled as True creating the Crashing problem, is that correct?
I'd ask you to use the v3.5.0 directly instead of migrating it from v3.4.0 (if at all you're doing it by means whenever you install the latest build) and check if things work fine. Because that's the latest Android SDK version which released last month with all the Bug fixes. So, give a try to the latest SDK version.
And, as you also mentioned - "The crash happened after I input the webex account id (for example abc@test.com) for the OAuthWebViewAuthenticator."
In this regard, I believe you're using the mailId in the last field as shown below -
val clientId: String = "YOUR_CLIENT_ID" val clientSecret: String = "YOUR_CLIENT_SECRET" val redirectUri: String = "https://webexdemoapp.com" val scope: String = "spark:all" val email = "EMAIL_ID_OF_END_USER" // Get email id from end user
So, could I ask you to make sure that the client_id and client_secret you're using, that's belong to the same account, example - abs@test.com
If not, then it's valid to be get crashed.
Let us know if you still face the issue and we'll assist you further based on the problem you're facing.
Thank you for your patience so far!
Regards,
Sandip
07-16-2022 04:47 AM
Thank you for the reply, sandiban.
Actually you misunderstood it. When I build my Android App that used Android SDK 3.4.0 as a release or debug build with minifyEnabled as False, it will work well.
The issue only happened when I did a release build with minifyEnabled as True that has this crash after I input the email id.
There's nothing wrong with the email id.
Thank you
07-18-2022 04:00 AM
Okay, thanks for confirming @handitan
Can I ask you to test it with our latest Android SDK v3.5.0, because it has the latest June update and mostly the bugs have been fixed here.
And, what's the released build number that you're adding later on v3.4.0, that'd help here.
Even on the latest build if you're facing the same problem, please share the details over the Open devsupport ticket - https://voxeolabs.zendesk.com/agent/tickets/108615
That'd be better to keep track of the progress and continue the communication.
Regards,
Sandip
07-18-2022 02:02 PM
Hi Sandiban,
Okay I will check with Android SDK 3.5.0.
My app build version that's using 3.4.0 SDK is 1.3.
That 108615 ticket number is for a different issue.
Thank you,
Handi
07-18-2022 03:00 PM
Hi Sandiban,
It's still the same crash issue on a release build with minifyEnabled set to true using Android SDK v3.5.0.
Same steps to produce the crash just like when I tested with Android SDK v3.4.0.
And same error message: 2022-07-18 16:50:13.440 18482-18482/? No pending exception expected: java.lang.ClassNotFoundException: com.webex.wseclient.WseEngine
Could you please advise what I could help in troubleshooting this?
Thank you,
Handi
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide