Closed frozensquid closed 5 years ago
@frozensquid Your implementation of getSecureStorage is faulty. You probably need to read something like https://developers.google.com/web/fundamentals/primers/promises and then make getSecureStorage return a Promise. Closing.
Hello, I have an issue about the return of the value get by the function.
The plugin is initilized when deviceRead, this is ok 👍
I created a function to get a value
I created another function to know if a "token" exist so i have:
When i build it and launch my app on my phone, When i had a value nammed token i have the alert that say OK. But when i trigger the CheckVal() value, the var ssToken is ALWAYS 'undefined'.. while i well returned the var value which contain the "token" value. I know that it's well inserted because the alert in getSecureStorage() function trigger with the value..
Can you explain me please? I am available if you have other questions.
Best regards, Florian