-
Notifications
You must be signed in to change notification settings - Fork 392
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(android): avoid send event when has no listener (#548)
* fix(android): avoid send event when has no listener This commit just make sure that module will not read MAC info before add listener for it. Everytime createConnectivityEventMap method called when send event, it will get wifiinfo. It's illegal in China when app read MAC info before user agree the privacy agreement. * fix(android): reset hasListener onCatalystInstanceDestroy
- Loading branch information
Showing
2 changed files
with
9 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters