-
Notifications
You must be signed in to change notification settings - Fork 249
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 13 : Unable to launch email window and App "refreshes" #194
Comments
The same issue |
For Android 13 we should patch code of RNMailModule.java to just call Intent.createChooser - it works without issues The problem is: PackageManager's queryIntentActivities doesn't find Gmail app at all (AndroidManifest.xml has all required entries as mentioned in Google docs). |
same issue |
A few theories as to what might be happening here:
We're going to try out some solutions related to the hypotheses above, but unfortunately we can't imitate this on an emulator because the version of Gmail on the emulator doesn't reproduce the issue :( |
same issue here -- hoping for a fix. |
I have a solution for it here: |
Trying to implement a Support Request by email with some attached files. Everything works perfectly on iOS but I'm stuck with a weird error on Android 13 where the app seems to refresh (there is a visual hickup).
At first I was getting the not_available error and after digging through the issues (mainly found #193) and adding intents to my AndroidManifest.xml file. I'm still stuck with the error below:
From what I gather from the logs, there seems to be a problem with :
W/PackageManager: Intent does not match component's intent filter: Intent { act=android.intent.action.SEND_MULTIPLE (has extras) sel=act=android.intent.action.SENDTO dat=mailto:} }
W/PackageManager: Access blocked: ComponentInfo{com.google.android.gm/com.google.android.gm.ComposeActivityGmailExternal}
W/Bundle: Key android.intent.extra.TEXT expected ArrayList<java.lang.CharSequence> but value was of a different type. The default value <null> was returned.
W/Bundle: Attempt to cast generated internal exception: java.lang.ClassCastException: Cannot cast android.text.SpannableStringBuilder to java.util.ArrayList
All this seems to relaunch MyApp as it seems to be the activity called. Any hint or help is appreciated.
My AndroidManifest.xml
My JS Code
The text was updated successfully, but these errors were encountered: