Skip to content
This repository has been archived by the owner on May 18, 2022. It is now read-only.

Commit

Permalink
Fix null access error on Android
Browse files Browse the repository at this point in the history
  • Loading branch information
mackenziekira authored Mar 14, 2022
1 parent b375726 commit c69f21c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ public ReceiveSharingIntentHelper(Application context){
@RequiresApi(api = Build.VERSION_CODES.KITKAT)
public void sendFileNames(Context context, Intent intent, Promise promise){
try {
if(intent == null) { return; }
String action = intent.getAction();
String type = intent.getType();
if(type == null) { return; }
Expand Down

0 comments on commit c69f21c

Please sign in to comment.