You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am working on application where we have 2 languages English(default) and French. I came into a situation where i wanted to open modal in landscape mode on Android and language was set to French. But as soon as modal opens language was set to default(English) instead of french and when i close the modal and refresh that screen all text where in english instead of french.
So, I was looking into that issue and I thought that it could be because of plugin loosing it current language context while changing orientation on Android. So, I set orientation change event and called androidLaunchEventLocalizationHandler and it worked.
below code i placed inside my main.ts file. Application.on(Application.orientationChangedEvent, (args) => { if (args.android) { androidLaunchEventLocalizationHandler(); } });
Please let me know if this is an issue or if it is caused due to something else. Please Note: This is only happens Android and on IOS everything works perfectly fine.
The text was updated successfully, but these errors were encountered:
Hi,
I am working on application where we have 2 languages English(default) and French. I came into a situation where i wanted to open modal in landscape mode on Android and language was set to French. But as soon as modal opens language was set to default(English) instead of french and when i close the modal and refresh that screen all text where in english instead of french.
So, I was looking into that issue and I thought that it could be because of plugin loosing it current language context while changing orientation on Android. So, I set orientation change event and called androidLaunchEventLocalizationHandler and it worked.
below code i placed inside my main.ts file.
Application.on(Application.orientationChangedEvent, (args) => { if (args.android) { androidLaunchEventLocalizationHandler(); } });
Please let me know if this is an issue or if it is caused due to something else.
Please Note: This is only happens Android and on IOS everything works perfectly fine.
The text was updated successfully, but these errors were encountered: