Skip to content

Commit

Permalink
remove un-needed registerWith method (#1205)
Browse files Browse the repository at this point in the history
  • Loading branch information
gmackall authored Jun 13, 2024
1 parent ecb8b7e commit cc29975
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,6 @@ public void onAttachedToEngine(@NonNull FlutterPluginBinding binding) {
setup(binding.getApplicationContext());
}

@SuppressWarnings({"unused", "deprecation"})
public static void registerWith(io.flutter.plugin.common.PluginRegistry.Registrar registrar) {
JniPlugin plugin = new JniPlugin();
plugin.setup(registrar.activeContext());
}

private void setup(Context context) {
initializeJni(context, getClass().getClassLoader());
}
Expand Down

0 comments on commit cc29975

Please sign in to comment.