Closed Udobnaja closed 5 years ago
What I see in your routing is that you redirect to /card.
in app.routing.ts this is how i use it
export const routes = [ { path: '', loadChildren: 'your card module' } ];
Closing this one as I am not able to reproduce the issue while using the latest version of nativescript-angular.
@NickIliev I am facing same issue with Nativescript@5.4.2 with angular
@yatinkapur the issue on my side was entirely related to working with HMR - it is not happening in production or when the HMR is not used (--no-hmr
) or when the --release
flag is used (in release the HMR is turned off by design). Test with app build in production and let me know if you are still experiencing this one.
I am experiencing the same issue. Even with a release build. Does the splash screen only route once the app has its initial view rendered? This will be helpful as I would prefer the app to remain on the splash screen as apposed to route to what appears an empty/not fully rendered screen. Any help is much appreciated.
On Thu, 13 Feb 2020, 2:21 PM Nick Iliev, notifications@github.com wrote:
@yatinkapur https://github.com/yatinkapur the issue on my side was entirely related to working with HMR - it is not happening in production or when the HMR is not used (--no-hmr) or when the --release flag is used (in release the HMR is turned off by design). Test with app build in production and let me know if you are still experiencing this one.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/NativeScript/nativescript-angular/issues/1089?email_source=notifications&email_token=AHNDDIEZY6CKJ5PZGE4LEMLRCU3OJA5CNFSM4ED2KUD2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELUYNKI#issuecomment-585729705, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHNDDIBCXNG2KC22PLLGXADRCU3OJANCNFSM4ED2KUDQ .
@NickIliev I have released an app with --release flag and still have this issue in the production build.
@Meyer-dev @yatinkapur can you guys provide a sample project that reproduces the issue?
After Splash screen and before main screen (route), i see white screen + ActionBar with default app_name (that i set in folder "App_Resources/Android/values/strings.xml").
Platform: Android
You can find all code here https://github.com/Udobnaja/nativescript-taxi In my routings files i have no blank components
this behavior was before i start using webpack or separate app module to features modules, so it was from the start i guess
Maybe you know why it can happen? or how resolve it