-
Notifications
You must be signed in to change notification settings - Fork 165
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
Why Cordova SMS plugin takes time to load for the first time? #218
Comments
I believe this has been fixed in the WIP_MMS_support branch. The issue is the new view controller is created on a different thread: |
@TravisHeaver Thanks for the reply.
|
@maihannijat @TravisHeaver do you guys mind opening a PR? |
cordova-sms#218 Wrapped the opening of text composer with `dispatch_async` to fix the main thread issue.
@maihannijat 's contribution has been merged. Version 1.0.1 has been published. |
I am testing this on an iOS physical device. When I click on the button to send an SMS for the first time after a fresh installation, it takes up to 30 seconds to load, but after that, it happens instantly. Even after closing the application, and restarting the phone. I looked into the Log and found:
Angular version 11
IONIC version 5.31.1
SMS ionic-native/sms": "^5.31.1"
"cordova-sms-plugin": "^1.0.0"
The text was updated successfully, but these errors were encountered: