gurisko / cordova-plugin-accountkit

AccountKit Plugin for Apache Cordova which allows you to add passwordless email and SMS authentication to your app
MIT License
34 stars 42 forks source link

lastRefresh / refreshInterval #16

Closed 1N50MN14 closed 7 years ago

1N50MN14 commented 7 years ago

Hey! Thanks for the awesome plugin! ;)

Question, lastRefresh and refreshInterval are those in seconds or milliseconds and are they consistent in both iOS and Android (the formatting)?

Thank you ;)

gurisko commented 7 years ago

Hello @1N50MN14 ! Thank you for trying the plugin and for your feedback. It seems that we should include these information into README.

To answer your question: lastRefresh - returns milliseconds refreshInterval - returns seconds

They are almost completely consistent on both platforms. There is a tiny difference for lastRefresh which returns double for iOS and int for android. (for the current version, which is 1.2.0)

1N50MN14 commented 7 years ago

Thanks for the clarification @gurisko - closing issue - PS +1 for #2 ;)

1N50MN14 commented 7 years ago

closing