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
it came to my attention that the definition of the "requestPermission" function is erroneous.
The function is implemented as an asynchronous function for android as well as for IOS. See
the pictures below.
The android implementation calls a function which returns a promise. The IOS implementation constructs a promise in the function implementation.
Unfortunately the type definition doesn't show that the function returns a promise. That made me
believe the function executes synchronously, which lead to some strange behaviors in my program.
It would be very nice if you could update the "index.d.ts" file.
Kind regards, Lord Saumagen.
The text was updated successfully, but these errors were encountered:
Dear Ladies and Gentlemen,
it came to my attention that the definition of the "requestPermission" function is erroneous.
The function is implemented as an asynchronous function for android as well as for IOS. See
the pictures below.
The android implementation calls a function which returns a promise. The IOS implementation constructs a promise in the function implementation.
Unfortunately the type definition doesn't show that the function returns a promise. That made me
believe the function executes synchronously, which lead to some strange behaviors in my program.
It would be very nice if you could update the "index.d.ts" file.
Kind regards, Lord Saumagen.
The text was updated successfully, but these errors were encountered: