Description:onOpened() always call twice while onClosed() only call once. I tested using public method open() and update attribute isOpen to true. It will give same result, onOpened() call twice.
Environment:What version of the react SDK are you using?
"react": "^16.6.0"
What version of the react-native SDK are you using?
"react-native": "^0.57.4"
What version of the react-native-modalbox SDK are you using?
"react-native-modalbox": "^1.6.0"
How did you add the SDK to your project (eg. npm)yarn add react-native-modalbox@latest --save
Description:
onOpened()
always call twice whileonClosed()
only call once. I tested using public methodopen()
and update attributeisOpen
totrue
. It will give same result,onOpened()
call twice.Environment: What version of the react SDK are you using? "react": "^16.6.0"
What version of the react-native SDK are you using? "react-native": "^0.57.4"
What version of the react-native-modalbox SDK are you using? "react-native-modalbox": "^1.6.0"
How did you add the SDK to your project (eg. npm)
yarn add react-native-modalbox@latest --save
Android Version: Android Marshmallow 6.0.1
Steps to Reproduce Issue:
react-native init testingmodalbox
yarn add react-native-modalbox@latest --save
Implement
react-native-modalbox
onApp.js
onopened
print twice.Anyone face the same issue here?