-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Android/Google Play Pre-Launch Report Fails - InvocationTargetException #129
Comments
I have a $2000 bounty on the first person to resolve this issue |
Which web framework are you using with Ionic? Angular, React, or Vue? |
I just tried Vue with Capacitor and got everything works with Pixel 2 API 31. See #131 for the changes I made. |
The app is running angular with Capacitor, here is the
we could not reproduce the issue in the we narrowed down the culprit to the
what does the generated |
Here are the instructions I've been using in OktaDev Schematics. Add your reverse domain name as the <intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT"/>
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="com.okta.dev-133337" />
</intent-filter> |
Maybe the Were you able to get the angular/capacitor |
I didn't have any issues with Angular + Capacitor on Android with this latest code. I did have to add "ionic-appauth": "github:wi3land/ionic-appauth", |
thanks, I'll verify using the appauth package above - just checking that the pixel 2 image that you're running the Angular/Capacitor/Android is API 31 and |
ok @mraible I was able to get this issue resolved and it was partially because of #129 (comment) It seems the resolution was to upgrade to Ionic 6, but your suggestion to add the additional intent with the reverse domain name lookup was key. I'd like to send you a reward for pointing me in the right direction. How can I do so? |
I'm glad you figured out a solution. There's no need to send a reward. Closing this issue is reward enough. :) |
Thanks @mraible. If you change your mind, let me know. Also, big thanks for all your work with keeping this library up-to-date. Keep up the great work and let me know how my team could support you in your efforts. |
Steps to reproduce:
Error:
the core exception in the full logcat.txt file is: Caused by: android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.VIEW dat=https://...:5002/... ionic-appauth uses this intent to open a window to show the login, is there an update to deal with this for Android 12?
The app seems to work on newer android devices like Samsung 10 I use for testing; but, the issue is with the Google Pixel 2 which has to function to pass Google Play's deployment rollout pre-tests.
I believe https://developer.android.com/about/versions/12/behavior-changes-12 may have something to do with this issue. I think this https://stackoverflow.com/questions/68554294/androidexported-needs-to-be-explicitly-specified-for-activity-apps-targeting will help solve a part of the issue. I do think it has something to do with the intent-filter found in the AndroidManifest.xml.
Virtual Device specifications
Model name Pixel 2 (virtual)
Manufacturer Google
Android version Android 12 (SDK 31)
Locale en_GB
Screen size 1080 x 1920
Screen density (DPI) 420
ABI x86_64
Full log:
logcat (2).txt
Any help would be much appreciated!
The text was updated successfully, but these errors were encountered: