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
{{ message }}
This repository was archived by the owner on Aug 28, 2023. It is now read-only.
The app should not do ACPCore.start() again after reload by getting a status value from native code
Actual Behaviour
No API to get the status of SDK, whether it is properly started or not
Reproduce Scenario (including but not limited to)
Have SDK initialization on app start and some callback method after we await for the result from ACPCore.start()
Steps to Reproduce
Load the app and SDK should start properly, do a reload (CMD + R / R + R)
Platform and Version
React Native
Sample Code that illustrates the problem
async componentDidMount() {
await ACPCore.start()
// below line will never execute after a reload as ACPCore.start() never resolve when it is called more than once
doSomethingHere()
}
Expected Behaviour
The app should not do
ACPCore.start()again after reload by getting a status value from native codeActual Behaviour
No API to get the status of SDK, whether it is properly started or not
Reproduce Scenario (including but not limited to)
Have SDK initialization on app start and some callback method after we await for the result from
ACPCore.start()Steps to Reproduce
Load the app and SDK should start properly, do a reload (CMD + R / R + R)
Platform and Version
React Native
Sample Code that illustrates the problem
Logs taken while reproducing problem