Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
440 changes: 440 additions & 0 deletions .idea/dbnavigator.xml

Large diffs are not rendered by default.

18 changes: 9 additions & 9 deletions .idea/libraries/Flutter_Plugins.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ rootProject.allprojects {
apply plugin: 'com.android.library'

android {
compileSdkVersion 34
compileSdkVersion 35

if (project.android.hasProperty("namespace")) {
namespace 'yeniellandestoy.native_shared_preferences'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@
import io.flutter.embedding.engine.plugins.FlutterPlugin;
import io.flutter.plugin.common.BinaryMessenger;
import io.flutter.plugin.common.MethodChannel;
import io.flutter.plugin.common.PluginRegistry;
//import io.flutter.plugin.common.PluginRegistry;

/** NativeNativeSharedPreferencesPlugin */
public class NativeSharedPreferencesPlugin implements FlutterPlugin {
private static final String CHANNEL_NAME = "native_shared_preferences";
private MethodChannel channel;

public static void registerWith(PluginRegistry.Registrar registrar) {
final NativeSharedPreferencesPlugin plugin = new NativeSharedPreferencesPlugin();
plugin.setupChannel(registrar.messenger(), registrar.context());
}
// public static void registerWith(PluginRegistry.Registrar registrar) {
// final NativeSharedPreferencesPlugin plugin = new NativeSharedPreferencesPlugin();
// plugin.setupChannel(registrar.messenger(), registrar.context());
// }

@Override
public void onAttachedToEngine(FlutterPlugin.FlutterPluginBinding binding) {
Expand Down
Loading