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
{{ message }}
This repository has been archived by the owner on Dec 19, 2021. It is now read-only.
The most likely cause is your service is being created too early in the life cycle of the app, so the native call into the android Resources with .getResources() in the source of this plugin crashes. I'd suggest delaying the constructor of the LoadingIndicator() somehow. Either a method in your service maybe like
public indicator: LoadingIndicator;init(){this.indicator=newLoadingIndicator();}
Then on your app start, maybe the logic of the first component or after bootstrap, call your service.init() method and that should help. Hope this makes sense :)
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Which platform(s) does your issue occur on?
-Android
Please, provide the following version numbers that your issue occurs with:
Please, tell us how to recreate the issue in as much detail as possible.
export class LoadingService {
indicator: LoadingIndicator;
}
The text was updated successfully, but these errors were encountered: