This repository has been archived by the owner on Feb 16, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create GeneratedPluginRegistrant.java
- Loading branch information
1 parent
61818d9
commit d14e843
Showing
1 changed file
with
41 additions
and
0 deletions.
There are no files selected for viewing
41 changes: 41 additions & 0 deletions
41
android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
package io.flutter.plugins; | ||
|
||
import androidx.annotation.Keep; | ||
import androidx.annotation.NonNull; | ||
import io.flutter.Log; | ||
|
||
import io.flutter.embedding.engine.FlutterEngine; | ||
import io.flutter.embedding.engine.plugins.shim.ShimPluginRegistry; | ||
|
||
/** | ||
* Generated file. Do not edit. | ||
* This file is generated by the Flutter tool based on the | ||
* plugins that support the Android platform. | ||
*/ | ||
@Keep | ||
public final class GeneratedPluginRegistrant { | ||
private static final String TAG = "GeneratedPluginRegistrant"; | ||
public static void registerWith(@NonNull FlutterEngine flutterEngine) { | ||
ShimPluginRegistry shimPluginRegistry = new ShimPluginRegistry(flutterEngine); | ||
try { | ||
flutterEngine.getPlugins().add(new com.github.florent37.assets_audio_player.AssetsAudioPlayerPlugin()); | ||
} catch(Exception e) { | ||
Log.e(TAG, "Error registering plugin assets_audio_player, com.github.florent37.assets_audio_player.AssetsAudioPlayerPlugin", e); | ||
} | ||
try { | ||
xyz.luan.audioplayers.AudioplayersPlugin.registerWith(shimPluginRegistry.registrarFor("xyz.luan.audioplayers.AudioplayersPlugin")); | ||
} catch(Exception e) { | ||
Log.e(TAG, "Error registering plugin audioplayers, xyz.luan.audioplayers.AudioplayersPlugin", e); | ||
} | ||
try { | ||
flutterEngine.getPlugins().add(new io.flutter.plugins.pathprovider.PathProviderPlugin()); | ||
} catch(Exception e) { | ||
Log.e(TAG, "Error registering plugin path_provider, io.flutter.plugins.pathprovider.PathProviderPlugin", e); | ||
} | ||
try { | ||
flutterEngine.getPlugins().add(new io.flutter.plugins.sharedpreferences.SharedPreferencesPlugin()); | ||
} catch(Exception e) { | ||
Log.e(TAG, "Error registering plugin shared_preferences, io.flutter.plugins.sharedpreferences.SharedPreferencesPlugin", e); | ||
} | ||
} | ||
} |