-
-
Notifications
You must be signed in to change notification settings - Fork 100
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
Improve the time to load the Android app #25
Comments
Hi @Primokorn. The mobile apps are built on Apache Cordova so currently the loading time is dependent on that library/platform moreso than the xBrowserSync code. A couple of things planned for the future that may resolve this, firstly I plan to port the app code to React (and TypeScript) from the deprecated AngularJS which will make all of the apps (browser and mobile feel quicker). Once that is done the way is then clear to port the mobile apps from Cordova to React Native which as they will now be native apps will load and function much quicker than they currently do. Out of interest what phone are you experiencing this on? On my OnePlus 2 (a fairly old phone) the app loads in less than 4 seconds. Does it take the same amount of time to load if you disable your current sync, close the app and then re-open? |
Thanks for your answer and the good news! |
Ok cool, yeah I think it's just down to the cordova/angularjs combo, two frameworks that aren't known for their native speed (though without them there wouldn't have been any xbs mobile apps!). You have very limited control over the loading process with cordova. |
Steps to reproduce
Expected behaviour
Opening the app within 1-2 seconds.
Actual behaviour
The app needs more than 4 seconds.
Client app information
App Platform: Android Oreo 8.1
OnePlus 3T
Other info
The splash screen is useless. Maybe it could help to reduce the opening.
Thank you.
The text was updated successfully, but these errors were encountered: