Skip to content
This repository has been archived by the owner on Feb 20, 2023. It is now read-only.

Commit

Permalink
android: fix the error (#549)
Browse files Browse the repository at this point in the history
  • Loading branch information
OOM committed Feb 12, 2020
1 parent 42c1d41 commit b34cd45
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion android/src/main/java/com/theweflex/react/WeChatModule.java
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,8 @@ public void onCatalystInstanceDestroy() {

public static void handleIntent(Intent intent) {
for (WeChatModule mod : modules) {
mod.api.handleIntent(intent, mod);
if (mod.api != null)
mod.api.handleIntent(intent, mod);
}
}

Expand Down

0 comments on commit b34cd45

Please sign in to comment.