Skip to content

Commit

Permalink
buildToolsVersion to 34
Browse files Browse the repository at this point in the history
  • Loading branch information
jchen351 committed Oct 2, 2024
1 parent 2b2cfc8 commit f1de779
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,6 @@ public void onCreate() {
initializeFlipper(
this, getReactNativeHost().getReactInstanceManager()); // Remove this line if you don't want Flipper enabled
}
@Override
public Intent registerReceiver(@Nullable BroadcastReceiver receiver, IntentFilter filter) {
if (Build.VERSION.SDK_INT >= 34 && getApplicationInfo().targetSdkVersion >= 34) {
return super.registerReceiver(receiver, filter, Context.RECEIVER_EXPORTED); // or RECEIVER_NOT_EXPORTED
} else {
return super.registerReceiver(receiver, filter);
}
}
public static Context getAppContext() { return appContext; }

/**
Expand Down

0 comments on commit f1de779

Please sign in to comment.