ionic-team / ionic-io-docs

Ionic.io Docs Site
http://docs.ionic.io/
11 stars 12 forks source link

ionicAppProvider.identify and asynchronous worries... #5

Open cfjedimaster opened 9 years ago

cfjedimaster commented 9 years ago

Kind of a lame title, sorry. So when using an Ionic service, you are directed to the 'core' services docs and told you have to use ionicAppProvider.identify in your code. Cool. But I was just wondering - is this call asynchronous? And if so - what happens if I try to do Push or Analytics before this is done? I was told by ericb in chat that it is NOT asynch, but I think it might be worthwhile to add a sentence or two making it clear it is sync. (And perhaps even mentioning it doesn't do a network call.)