Closed timmywil closed 4 years ago
I'm realizing a lot of the "events" could be removed if more methods returned promises, but that's for another time.
I'm realizing a lot of the "events" could be removed if more methods returned promises, but that's for another time.
Yes, just event callback style vs promise style. The native libraries actually have both styles available in their APIs.
They won't be fully tested until I use all the functions.
@noelweichbrodt I noticed that onInit
is gone. Is that because .initialize()
is synchronous?
@noelweichbrodt I noticed that
onInit
is gone. Is that because.initialize()
is synchronous?
It never made it into the docs (my oversight), but the event is still sent (https://github.com/spokestack/react-native-spokestack/blob/master/index.js#L157). Good catch.
onInit
added back.
Please ensure no properties are missing and that required properties are correct.
Adds types for all configuration options and spokestack functions