-
Notifications
You must be signed in to change notification settings - Fork 1k
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
fix(android): prevent crash on script injection if the script is too long #7308
fix(android): prevent crash on script injection if the script is too long #7308
Conversation
…5.7.1 version (WIP)
android/capacitor/src/main/java/com/getcapacitor/JSInjector.java
Outdated
Show resolved
Hide resolved
This comment was marked as abuse.
This comment was marked as abuse.
This doesn't fix my problem. below is the new error after applied above coding update.
Any solution? |
@dodomui did you changed all the lines like the full MR https://github.com/ionic-team/capacitor/pull/7308/files ? |
The error seems to be thrown from replaceFirst method (see at |
…long (#7308) Co-authored-by: Mark Anderson <[email protected]> Co-authored-by: jcesarmobile <[email protected]>
No more issue with 5.7.2. |
closes #7309