Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70434

Start the app when all native plugin are loaded

$
0
0

@Marco_Chavez wrote:

Hello everyone, i need to ask a little question…

I used the Native storage plugin in my application, the app has a login, the server give a access token (random hash) to consume other WS, i stored the token with native storage, the problem is that when the app init, the first page consume a WS that need the access token given from storage, but ionic first load the app and then load the plugins in the project, sometimes can show me the flow normal and other times in the console log show me “Plugin no installed: Native Storage” and therefore can not read the stored token

i cant a solution appropietely, only that i can do is do a timeOut, after a time that the app loaded get the token and consume the WS.

I compile in device physical and has the same problem.

how can i start the app only when all plugins native are completility loaded?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70434

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>