From b8ae4e045d8a5b4f82f1d028e6abb16f232e2792 Mon Sep 17 00:00:00 2001 From: Dillon Nys Date: Thu, 22 Aug 2024 11:06:17 -0700 Subject: [PATCH] chore(native_auth): Make Dart-only And rename to `native_authentication` (no `_flutter`). Not enjoying the idea of splitting our whole package tree into Dart-only and Flutter yet. --- ...lutter.yaml => native_authentication.yaml} | 12 +- .../auth/native_authentication/.gitignore | 7 + .../CHANGELOG.md | 2 +- .../LICENSE | 0 .../README.md | 4 +- .../analysis_options.yaml | 1 + .../android/.gitignore | 0 .../android/build.gradle | 0 .../android/consumer-rules.pro | 0 .../android/settings.gradle | 1 + .../android/src/main/AndroidManifest.xml | 0 .../NativeAuthentication.kt | 0 .../NativeAuthenticationCallback.kt | 0 .../example/.gitignore | 0 .../example/.metadata | 0 .../example/README.md | 0 .../example/analysis_options.yaml | 0 .../example/android/.gitignore | 0 .../example/android/app/build.gradle | 0 .../android/app/src/debug/AndroidManifest.xml | 0 .../android/app/src/main/AndroidManifest.xml | 0 .../MainActivity.kt | 0 .../res/drawable-v21/launch_background.xml | 0 .../main/res/drawable/launch_background.xml | 0 .../src/main/res/mipmap-hdpi/ic_launcher.png | Bin .../src/main/res/mipmap-mdpi/ic_launcher.png | Bin .../src/main/res/mipmap-xhdpi/ic_launcher.png | Bin .../main/res/mipmap-xxhdpi/ic_launcher.png | Bin .../main/res/mipmap-xxxhdpi/ic_launcher.png | Bin .../app/src/main/res/values-night/styles.xml | 0 .../app/src/main/res/values/styles.xml | 0 .../app/src/profile/AndroidManifest.xml | 0 .../example/android/build.gradle | 0 .../example/android/gradle.properties | 0 .../gradle/wrapper/gradle-wrapper.properties | 0 .../example/android/settings.gradle | 0 .../example/ios/.gitignore | 0 .../ios/Flutter/AppFrameworkInfo.plist | 0 .../example/ios/Flutter/Debug.xcconfig | 0 .../example/ios/Flutter/Release.xcconfig | 0 .../example/ios/Podfile | 0 .../example/ios/Podfile.lock | 10 +- .../ios/Runner.xcodeproj/project.pbxproj | 0 .../contents.xcworkspacedata | 0 .../xcshareddata/IDEWorkspaceChecks.plist | 0 .../xcshareddata/WorkspaceSettings.xcsettings | 0 .../xcshareddata/xcschemes/Runner.xcscheme | 0 .../contents.xcworkspacedata | 0 .../xcshareddata/IDEWorkspaceChecks.plist | 0 .../xcshareddata/WorkspaceSettings.xcsettings | 0 .../example/ios/Runner/AppDelegate.swift | 0 .../AppIcon.appiconset/Contents.json | 0 .../Icon-App-1024x1024@1x.png | Bin .../AppIcon.appiconset/Icon-App-20x20@1x.png | Bin .../AppIcon.appiconset/Icon-App-20x20@2x.png | Bin .../AppIcon.appiconset/Icon-App-20x20@3x.png | Bin .../AppIcon.appiconset/Icon-App-29x29@1x.png | Bin .../AppIcon.appiconset/Icon-App-29x29@2x.png | Bin .../AppIcon.appiconset/Icon-App-29x29@3x.png | Bin .../AppIcon.appiconset/Icon-App-40x40@1x.png | Bin .../AppIcon.appiconset/Icon-App-40x40@2x.png | Bin .../AppIcon.appiconset/Icon-App-40x40@3x.png | Bin .../AppIcon.appiconset/Icon-App-60x60@2x.png | Bin .../AppIcon.appiconset/Icon-App-60x60@3x.png | Bin .../AppIcon.appiconset/Icon-App-76x76@1x.png | Bin .../AppIcon.appiconset/Icon-App-76x76@2x.png | Bin .../Icon-App-83.5x83.5@2x.png | Bin .../LaunchImage.imageset/Contents.json | 0 .../LaunchImage.imageset/LaunchImage.png | Bin .../LaunchImage.imageset/LaunchImage@2x.png | Bin .../LaunchImage.imageset/LaunchImage@3x.png | Bin .../LaunchImage.imageset/README.md | 0 .../Runner/Base.lproj/LaunchScreen.storyboard | 0 .../ios/Runner/Base.lproj/Main.storyboard | 0 .../example/ios/Runner/Info.plist | 0 .../ios/Runner/Runner-Bridging-Header.h | 0 .../example/ios/RunnerTests/RunnerTests.swift | 0 .../example/lib/main.dart | 2 +- .../example/linux/.gitignore | 0 .../example/linux/CMakeLists.txt | 0 .../example/linux/flutter/CMakeLists.txt | 0 .../flutter/generated_plugin_registrant.cc | 0 .../flutter/generated_plugin_registrant.h | 0 .../linux/flutter/generated_plugins.cmake | 0 .../example/linux/main.cc | 0 .../example/linux/my_application.cc | 0 .../example/linux/my_application.h | 0 .../example/macos/.gitignore | 0 .../macos/Flutter/Flutter-Debug.xcconfig | 0 .../macos/Flutter/Flutter-Release.xcconfig | 0 .../Flutter/GeneratedPluginRegistrant.swift | 0 .../example/macos/Podfile | 0 .../example/macos/Podfile.lock | 10 +- .../macos/Runner.xcodeproj/project.pbxproj | 0 .../xcshareddata/IDEWorkspaceChecks.plist | 0 .../xcshareddata/xcschemes/Runner.xcscheme | 0 .../contents.xcworkspacedata | 0 .../xcshareddata/IDEWorkspaceChecks.plist | 0 .../example/macos/Runner/AppDelegate.swift | 0 .../AppIcon.appiconset/Contents.json | 0 .../AppIcon.appiconset/app_icon_1024.png | Bin .../AppIcon.appiconset/app_icon_128.png | Bin .../AppIcon.appiconset/app_icon_16.png | Bin .../AppIcon.appiconset/app_icon_256.png | Bin .../AppIcon.appiconset/app_icon_32.png | Bin .../AppIcon.appiconset/app_icon_512.png | Bin .../AppIcon.appiconset/app_icon_64.png | Bin .../macos/Runner/Base.lproj/MainMenu.xib | 0 .../macos/Runner/Configs/AppInfo.xcconfig | 0 .../macos/Runner/Configs/Debug.xcconfig | 0 .../macos/Runner/Configs/Release.xcconfig | 0 .../macos/Runner/Configs/Warnings.xcconfig | 0 .../macos/Runner/DebugProfile.entitlements | 0 .../example/macos/Runner/Info.plist | 0 .../macos/Runner/MainFlutterWindow.swift | 0 .../example/macos/Runner/Release.entitlements | 0 .../macos/RunnerTests/RunnerTests.swift | 0 .../example/pubspec.yaml | 6 +- .../example/web/favicon.png | Bin .../example/web/icons/Icon-192.png | Bin .../example/web/icons/Icon-512.png | Bin .../example/web/icons/Icon-maskable-192.png | Bin .../example/web/icons/Icon-maskable-512.png | Bin .../example/web/index.html | 0 .../example/web/manifest.json | 0 .../example/windows/.gitignore | 0 .../example/windows/CMakeLists.txt | 0 .../example/windows/flutter/CMakeLists.txt | 0 .../flutter/generated_plugin_registrant.cc | 0 .../flutter/generated_plugin_registrant.h | 0 .../windows/flutter/generated_plugins.cmake | 0 .../example/windows/runner/CMakeLists.txt | 0 .../example/windows/runner/Runner.rc | 0 .../example/windows/runner/flutter_window.cpp | 0 .../example/windows/runner/flutter_window.h | 0 .../example/windows/runner/main.cpp | 0 .../example/windows/runner/resource.h | 0 .../windows/runner/resources/app_icon.ico | Bin .../windows/runner/runner.exe.manifest | 0 .../example/windows/runner/utils.cpp | 0 .../example/windows/runner/utils.h | 0 .../example/windows/runner/win32_window.cpp | 0 .../example/windows/runner/win32_window.h | 0 .../ffigen.ios.yaml | 0 .../ffigen.macos.yaml | 0 .../ios/Classes/AuthenticationServices.ffi.m | 0 .../ios/native_authentication.podspec} | 4 +- .../jnigen.yaml | 1 - .../lib/native_authentication.dart} | 10 +- .../lib/src/model/callback_session.dart | 0 .../lib/src/model/callback_type.dart | 0 .../lib/src/model/exception.dart | 0 .../lib/src/model/oauth_result.dart | 2 +- .../src/native/android/jni_bindings.ffi.dart | 0 .../ios/authentication_services.ffi.dart | 0 .../macos/authentication_services.ffi.dart | 0 .../lib/src/native_auth.platform_io.dart | 30 +- .../lib/src/native_auth.platform_stub.dart | 2 +- .../lib/src/native_auth.platform_web.dart | 4 +- .../lib/src/platform/native_auth.android.dart | 9 +- .../lib/src/platform/native_auth.desktop.dart | 6 +- .../lib/src/platform/native_auth.ios.dart | 9 +- .../lib/src/platform/native_auth.macos.dart | 9 +- .../Classes/AuthenticationServices.ffi.m | 0 .../macos/native_authentication.podspec} | 4 +- .../pubspec.yaml | 15 +- .../test/native_authentication_test.dart | 21 ++ .../native_authentication_flutter/.gitignore | 29 -- .../native_authentication_flutter/.metadata | 36 --- .../analysis_options.yaml | 5 - .../android/settings.gradle | 1 - .../example/pubspec.lock | 292 ------------------ 172 files changed, 106 insertions(+), 438 deletions(-) rename .github/workflows/{native_authentication_flutter.yaml => native_authentication.yaml} (85%) create mode 100644 packages/native/auth/native_authentication/.gitignore rename packages/native/auth/{native_authentication_flutter => native_authentication}/CHANGELOG.md (67%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/LICENSE (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/README.md (79%) create mode 100644 packages/native/auth/native_authentication/analysis_options.yaml rename packages/native/auth/{native_authentication_flutter => native_authentication}/android/.gitignore (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/android/build.gradle (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/android/consumer-rules.pro (100%) create mode 100644 packages/native/auth/native_authentication/android/settings.gradle rename packages/native/auth/{native_authentication_flutter => native_authentication}/android/src/main/AndroidManifest.xml (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/android/src/main/kotlin/dev/celest/native_authentication/NativeAuthentication.kt (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/android/src/main/kotlin/dev/celest/native_authentication/NativeAuthenticationCallback.kt (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/.gitignore (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/.metadata (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/README.md (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/analysis_options.yaml (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/android/.gitignore (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/android/app/build.gradle (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/android/app/src/debug/AndroidManifest.xml (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/android/app/src/main/AndroidManifest.xml (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/android/app/src/main/kotlin/dev/celest/native_auth_flutter_example/MainActivity.kt (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/android/app/src/main/res/drawable-v21/launch_background.xml (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/android/app/src/main/res/drawable/launch_background.xml (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/android/app/src/main/res/values-night/styles.xml (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/android/app/src/main/res/values/styles.xml (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/android/app/src/profile/AndroidManifest.xml (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/android/build.gradle (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/android/gradle.properties (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/android/gradle/wrapper/gradle-wrapper.properties (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/android/settings.gradle (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/ios/.gitignore (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/ios/Flutter/AppFrameworkInfo.plist (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/ios/Flutter/Debug.xcconfig (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/ios/Flutter/Release.xcconfig (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/ios/Podfile (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/ios/Podfile.lock (61%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/ios/Runner.xcodeproj/project.pbxproj (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/ios/Runner.xcworkspace/contents.xcworkspacedata (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/ios/Runner/AppDelegate.swift (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/ios/Runner/Base.lproj/LaunchScreen.storyboard (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/ios/Runner/Base.lproj/Main.storyboard (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/ios/Runner/Info.plist (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/ios/Runner/Runner-Bridging-Header.h (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/ios/RunnerTests/RunnerTests.swift (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/lib/main.dart (97%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/linux/.gitignore (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/linux/CMakeLists.txt (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/linux/flutter/CMakeLists.txt (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/linux/flutter/generated_plugin_registrant.cc (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/linux/flutter/generated_plugin_registrant.h (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/linux/flutter/generated_plugins.cmake (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/linux/main.cc (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/linux/my_application.cc (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/linux/my_application.h (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/macos/.gitignore (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/macos/Flutter/Flutter-Debug.xcconfig (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/macos/Flutter/Flutter-Release.xcconfig (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/macos/Flutter/GeneratedPluginRegistrant.swift (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/macos/Podfile (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/macos/Podfile.lock (69%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/macos/Runner.xcodeproj/project.pbxproj (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/macos/Runner.xcworkspace/contents.xcworkspacedata (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/macos/Runner/AppDelegate.swift (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/macos/Runner/Base.lproj/MainMenu.xib (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/macos/Runner/Configs/AppInfo.xcconfig (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/macos/Runner/Configs/Debug.xcconfig (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/macos/Runner/Configs/Release.xcconfig (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/macos/Runner/Configs/Warnings.xcconfig (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/macos/Runner/DebugProfile.entitlements (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/macos/Runner/Info.plist (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/macos/Runner/MainFlutterWindow.swift (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/macos/Runner/Release.entitlements (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/macos/RunnerTests/RunnerTests.swift (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/pubspec.yaml (66%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/web/favicon.png (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/web/icons/Icon-192.png (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/web/icons/Icon-512.png (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/web/icons/Icon-maskable-192.png (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/web/icons/Icon-maskable-512.png (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/web/index.html (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/web/manifest.json (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/windows/.gitignore (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/windows/CMakeLists.txt (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/windows/flutter/CMakeLists.txt (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/windows/flutter/generated_plugin_registrant.cc (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/windows/flutter/generated_plugin_registrant.h (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/windows/flutter/generated_plugins.cmake (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/windows/runner/CMakeLists.txt (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/windows/runner/Runner.rc (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/windows/runner/flutter_window.cpp (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/windows/runner/flutter_window.h (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/windows/runner/main.cpp (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/windows/runner/resource.h (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/windows/runner/resources/app_icon.ico (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/windows/runner/runner.exe.manifest (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/windows/runner/utils.cpp (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/windows/runner/utils.h (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/windows/runner/win32_window.cpp (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/example/windows/runner/win32_window.h (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/ffigen.ios.yaml (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/ffigen.macos.yaml (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/ios/Classes/AuthenticationServices.ffi.m (100%) rename packages/native/auth/{native_authentication_flutter/ios/native_authentication_flutter.podspec => native_authentication/ios/native_authentication.podspec} (89%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/jnigen.yaml (93%) rename packages/native/auth/{native_authentication_flutter/lib/native_authentication_flutter.dart => native_authentication/lib/native_authentication.dart} (71%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/lib/src/model/callback_session.dart (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/lib/src/model/callback_type.dart (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/lib/src/model/exception.dart (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/lib/src/model/oauth_result.dart (99%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/lib/src/native/android/jni_bindings.ffi.dart (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/lib/src/native/ios/authentication_services.ffi.dart (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/lib/src/native/macos/authentication_services.ffi.dart (100%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/lib/src/native_auth.platform_io.dart (59%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/lib/src/native_auth.platform_stub.dart (81%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/lib/src/native_auth.platform_web.dart (88%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/lib/src/platform/native_auth.android.dart (92%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/lib/src/platform/native_auth.desktop.dart (96%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/lib/src/platform/native_auth.ios.dart (93%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/lib/src/platform/native_auth.macos.dart (94%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/macos/Classes/AuthenticationServices.ffi.m (100%) rename packages/native/auth/{native_authentication_flutter/macos/native_authentication_flutter.podspec => native_authentication/macos/native_authentication.podspec} (90%) rename packages/native/auth/{native_authentication_flutter => native_authentication}/pubspec.yaml (75%) create mode 100644 packages/native/auth/native_authentication/test/native_authentication_test.dart delete mode 100644 packages/native/auth/native_authentication_flutter/.gitignore delete mode 100644 packages/native/auth/native_authentication_flutter/.metadata delete mode 100644 packages/native/auth/native_authentication_flutter/analysis_options.yaml delete mode 100644 packages/native/auth/native_authentication_flutter/android/settings.gradle delete mode 100644 packages/native/auth/native_authentication_flutter/example/pubspec.lock diff --git a/.github/workflows/native_authentication_flutter.yaml b/.github/workflows/native_authentication.yaml similarity index 85% rename from .github/workflows/native_authentication_flutter.yaml rename to .github/workflows/native_authentication.yaml index 78bdea1..1c71786 100644 --- a/.github/workflows/native_authentication_flutter.yaml +++ b/.github/workflows/native_authentication.yaml @@ -1,9 +1,9 @@ -name: native_authentication_flutter +name: native_authentication on: pull_request: paths: - - ".github/workflows/native_authentication_flutter.yaml" - - "packages/native/auth/native_authentication_flutter/**" + - ".github/workflows/native_authentication.yaml" + - "packages/native/auth/native_authentication/**" # Prevent duplicate runs due to Graphite # https://graphite.dev/docs/troubleshooting#why-are-my-actions-running-twice @@ -13,7 +13,7 @@ concurrency: defaults: run: - working-directory: packages/native/auth/native_authentication_flutter + working-directory: packages/native/auth/native_authentication jobs: build: @@ -35,7 +35,7 @@ jobs: run: dart format --set-exit-if-changed . - name: Build Example (iOS) run: flutter build ios --no-codesign - working-directory: packages/native/auth/native_authentication_flutter/example + working-directory: packages/native/auth/native_authentication/example - name: Build Example (Web) run: flutter build web - working-directory: packages/native/auth/native_authentication_flutter/example + working-directory: packages/native/auth/native_authentication/example diff --git a/packages/native/auth/native_authentication/.gitignore b/packages/native/auth/native_authentication/.gitignore new file mode 100644 index 0000000..3cceda5 --- /dev/null +++ b/packages/native/auth/native_authentication/.gitignore @@ -0,0 +1,7 @@ +# https://dart.dev/guides/libraries/private-files +# Created by `dart pub` +.dart_tool/ + +# Avoid committing pubspec.lock for library packages; see +# https://dart.dev/guides/libraries/private-files#pubspeclock. +pubspec.lock diff --git a/packages/native/auth/native_authentication_flutter/CHANGELOG.md b/packages/native/auth/native_authentication/CHANGELOG.md similarity index 67% rename from packages/native/auth/native_authentication_flutter/CHANGELOG.md rename to packages/native/auth/native_authentication/CHANGELOG.md index 339d42b..3fafbcd 100644 --- a/packages/native/auth/native_authentication_flutter/CHANGELOG.md +++ b/packages/native/auth/native_authentication/CHANGELOG.md @@ -1,3 +1,3 @@ -## 0.0.1 +# 0.1.0 - Initial release diff --git a/packages/native/auth/native_authentication_flutter/LICENSE b/packages/native/auth/native_authentication/LICENSE similarity index 100% rename from packages/native/auth/native_authentication_flutter/LICENSE rename to packages/native/auth/native_authentication/LICENSE diff --git a/packages/native/auth/native_authentication_flutter/README.md b/packages/native/auth/native_authentication/README.md similarity index 79% rename from packages/native/auth/native_authentication_flutter/README.md rename to packages/native/auth/native_authentication/README.md index c31ccf6..386d9fe 100644 --- a/packages/native/auth/native_authentication_flutter/README.md +++ b/packages/native/auth/native_authentication/README.md @@ -1,6 +1,6 @@ -# native_authentication_flutter +# native_authentication -A Flutter FFI plugin for performing authentication flows using native APIs. +A Dart-only library for performing authentication flows using native APIs. The platform implementations for `NativeAuthentication` are: diff --git a/packages/native/auth/native_authentication/analysis_options.yaml b/packages/native/auth/native_authentication/analysis_options.yaml new file mode 100644 index 0000000..572dd23 --- /dev/null +++ b/packages/native/auth/native_authentication/analysis_options.yaml @@ -0,0 +1 @@ +include: package:lints/recommended.yaml diff --git a/packages/native/auth/native_authentication_flutter/android/.gitignore b/packages/native/auth/native_authentication/android/.gitignore similarity index 100% rename from packages/native/auth/native_authentication_flutter/android/.gitignore rename to packages/native/auth/native_authentication/android/.gitignore diff --git a/packages/native/auth/native_authentication_flutter/android/build.gradle b/packages/native/auth/native_authentication/android/build.gradle similarity index 100% rename from packages/native/auth/native_authentication_flutter/android/build.gradle rename to packages/native/auth/native_authentication/android/build.gradle diff --git a/packages/native/auth/native_authentication_flutter/android/consumer-rules.pro b/packages/native/auth/native_authentication/android/consumer-rules.pro similarity index 100% rename from packages/native/auth/native_authentication_flutter/android/consumer-rules.pro rename to packages/native/auth/native_authentication/android/consumer-rules.pro diff --git a/packages/native/auth/native_authentication/android/settings.gradle b/packages/native/auth/native_authentication/android/settings.gradle new file mode 100644 index 0000000..b1fdca6 --- /dev/null +++ b/packages/native/auth/native_authentication/android/settings.gradle @@ -0,0 +1 @@ +rootProject.name = 'native_authentication' diff --git a/packages/native/auth/native_authentication_flutter/android/src/main/AndroidManifest.xml b/packages/native/auth/native_authentication/android/src/main/AndroidManifest.xml similarity index 100% rename from packages/native/auth/native_authentication_flutter/android/src/main/AndroidManifest.xml rename to packages/native/auth/native_authentication/android/src/main/AndroidManifest.xml diff --git a/packages/native/auth/native_authentication_flutter/android/src/main/kotlin/dev/celest/native_authentication/NativeAuthentication.kt b/packages/native/auth/native_authentication/android/src/main/kotlin/dev/celest/native_authentication/NativeAuthentication.kt similarity index 100% rename from packages/native/auth/native_authentication_flutter/android/src/main/kotlin/dev/celest/native_authentication/NativeAuthentication.kt rename to packages/native/auth/native_authentication/android/src/main/kotlin/dev/celest/native_authentication/NativeAuthentication.kt diff --git a/packages/native/auth/native_authentication_flutter/android/src/main/kotlin/dev/celest/native_authentication/NativeAuthenticationCallback.kt b/packages/native/auth/native_authentication/android/src/main/kotlin/dev/celest/native_authentication/NativeAuthenticationCallback.kt similarity index 100% rename from packages/native/auth/native_authentication_flutter/android/src/main/kotlin/dev/celest/native_authentication/NativeAuthenticationCallback.kt rename to packages/native/auth/native_authentication/android/src/main/kotlin/dev/celest/native_authentication/NativeAuthenticationCallback.kt diff --git a/packages/native/auth/native_authentication_flutter/example/.gitignore b/packages/native/auth/native_authentication/example/.gitignore similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/.gitignore rename to packages/native/auth/native_authentication/example/.gitignore diff --git a/packages/native/auth/native_authentication_flutter/example/.metadata b/packages/native/auth/native_authentication/example/.metadata similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/.metadata rename to packages/native/auth/native_authentication/example/.metadata diff --git a/packages/native/auth/native_authentication_flutter/example/README.md b/packages/native/auth/native_authentication/example/README.md similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/README.md rename to packages/native/auth/native_authentication/example/README.md diff --git a/packages/native/auth/native_authentication_flutter/example/analysis_options.yaml b/packages/native/auth/native_authentication/example/analysis_options.yaml similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/analysis_options.yaml rename to packages/native/auth/native_authentication/example/analysis_options.yaml diff --git a/packages/native/auth/native_authentication_flutter/example/android/.gitignore b/packages/native/auth/native_authentication/example/android/.gitignore similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/android/.gitignore rename to packages/native/auth/native_authentication/example/android/.gitignore diff --git a/packages/native/auth/native_authentication_flutter/example/android/app/build.gradle b/packages/native/auth/native_authentication/example/android/app/build.gradle similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/android/app/build.gradle rename to packages/native/auth/native_authentication/example/android/app/build.gradle diff --git a/packages/native/auth/native_authentication_flutter/example/android/app/src/debug/AndroidManifest.xml b/packages/native/auth/native_authentication/example/android/app/src/debug/AndroidManifest.xml similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/android/app/src/debug/AndroidManifest.xml rename to packages/native/auth/native_authentication/example/android/app/src/debug/AndroidManifest.xml diff --git a/packages/native/auth/native_authentication_flutter/example/android/app/src/main/AndroidManifest.xml b/packages/native/auth/native_authentication/example/android/app/src/main/AndroidManifest.xml similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/android/app/src/main/AndroidManifest.xml rename to packages/native/auth/native_authentication/example/android/app/src/main/AndroidManifest.xml diff --git a/packages/native/auth/native_authentication_flutter/example/android/app/src/main/kotlin/dev/celest/native_auth_flutter_example/MainActivity.kt b/packages/native/auth/native_authentication/example/android/app/src/main/kotlin/dev/celest/native_auth_flutter_example/MainActivity.kt similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/android/app/src/main/kotlin/dev/celest/native_auth_flutter_example/MainActivity.kt rename to packages/native/auth/native_authentication/example/android/app/src/main/kotlin/dev/celest/native_auth_flutter_example/MainActivity.kt diff --git a/packages/native/auth/native_authentication_flutter/example/android/app/src/main/res/drawable-v21/launch_background.xml b/packages/native/auth/native_authentication/example/android/app/src/main/res/drawable-v21/launch_background.xml similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/android/app/src/main/res/drawable-v21/launch_background.xml rename to packages/native/auth/native_authentication/example/android/app/src/main/res/drawable-v21/launch_background.xml diff --git a/packages/native/auth/native_authentication_flutter/example/android/app/src/main/res/drawable/launch_background.xml b/packages/native/auth/native_authentication/example/android/app/src/main/res/drawable/launch_background.xml similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/android/app/src/main/res/drawable/launch_background.xml rename to packages/native/auth/native_authentication/example/android/app/src/main/res/drawable/launch_background.xml diff --git a/packages/native/auth/native_authentication_flutter/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png b/packages/native/auth/native_authentication/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png rename to packages/native/auth/native_authentication/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png diff --git a/packages/native/auth/native_authentication_flutter/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png b/packages/native/auth/native_authentication/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png rename to packages/native/auth/native_authentication/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png diff --git a/packages/native/auth/native_authentication_flutter/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/packages/native/auth/native_authentication/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png rename to packages/native/auth/native_authentication/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png diff --git a/packages/native/auth/native_authentication_flutter/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/packages/native/auth/native_authentication/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png rename to packages/native/auth/native_authentication/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png diff --git a/packages/native/auth/native_authentication_flutter/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/packages/native/auth/native_authentication/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png rename to packages/native/auth/native_authentication/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png diff --git a/packages/native/auth/native_authentication_flutter/example/android/app/src/main/res/values-night/styles.xml b/packages/native/auth/native_authentication/example/android/app/src/main/res/values-night/styles.xml similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/android/app/src/main/res/values-night/styles.xml rename to packages/native/auth/native_authentication/example/android/app/src/main/res/values-night/styles.xml diff --git a/packages/native/auth/native_authentication_flutter/example/android/app/src/main/res/values/styles.xml b/packages/native/auth/native_authentication/example/android/app/src/main/res/values/styles.xml similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/android/app/src/main/res/values/styles.xml rename to packages/native/auth/native_authentication/example/android/app/src/main/res/values/styles.xml diff --git a/packages/native/auth/native_authentication_flutter/example/android/app/src/profile/AndroidManifest.xml b/packages/native/auth/native_authentication/example/android/app/src/profile/AndroidManifest.xml similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/android/app/src/profile/AndroidManifest.xml rename to packages/native/auth/native_authentication/example/android/app/src/profile/AndroidManifest.xml diff --git a/packages/native/auth/native_authentication_flutter/example/android/build.gradle b/packages/native/auth/native_authentication/example/android/build.gradle similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/android/build.gradle rename to packages/native/auth/native_authentication/example/android/build.gradle diff --git a/packages/native/auth/native_authentication_flutter/example/android/gradle.properties b/packages/native/auth/native_authentication/example/android/gradle.properties similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/android/gradle.properties rename to packages/native/auth/native_authentication/example/android/gradle.properties diff --git a/packages/native/auth/native_authentication_flutter/example/android/gradle/wrapper/gradle-wrapper.properties b/packages/native/auth/native_authentication/example/android/gradle/wrapper/gradle-wrapper.properties similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/android/gradle/wrapper/gradle-wrapper.properties rename to packages/native/auth/native_authentication/example/android/gradle/wrapper/gradle-wrapper.properties diff --git a/packages/native/auth/native_authentication_flutter/example/android/settings.gradle b/packages/native/auth/native_authentication/example/android/settings.gradle similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/android/settings.gradle rename to packages/native/auth/native_authentication/example/android/settings.gradle diff --git a/packages/native/auth/native_authentication_flutter/example/ios/.gitignore b/packages/native/auth/native_authentication/example/ios/.gitignore similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/ios/.gitignore rename to packages/native/auth/native_authentication/example/ios/.gitignore diff --git a/packages/native/auth/native_authentication_flutter/example/ios/Flutter/AppFrameworkInfo.plist b/packages/native/auth/native_authentication/example/ios/Flutter/AppFrameworkInfo.plist similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/ios/Flutter/AppFrameworkInfo.plist rename to packages/native/auth/native_authentication/example/ios/Flutter/AppFrameworkInfo.plist diff --git a/packages/native/auth/native_authentication_flutter/example/ios/Flutter/Debug.xcconfig b/packages/native/auth/native_authentication/example/ios/Flutter/Debug.xcconfig similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/ios/Flutter/Debug.xcconfig rename to packages/native/auth/native_authentication/example/ios/Flutter/Debug.xcconfig diff --git a/packages/native/auth/native_authentication_flutter/example/ios/Flutter/Release.xcconfig b/packages/native/auth/native_authentication/example/ios/Flutter/Release.xcconfig similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/ios/Flutter/Release.xcconfig rename to packages/native/auth/native_authentication/example/ios/Flutter/Release.xcconfig diff --git a/packages/native/auth/native_authentication_flutter/example/ios/Podfile b/packages/native/auth/native_authentication/example/ios/Podfile similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/ios/Podfile rename to packages/native/auth/native_authentication/example/ios/Podfile diff --git a/packages/native/auth/native_authentication_flutter/example/ios/Podfile.lock b/packages/native/auth/native_authentication/example/ios/Podfile.lock similarity index 61% rename from packages/native/auth/native_authentication_flutter/example/ios/Podfile.lock rename to packages/native/auth/native_authentication/example/ios/Podfile.lock index a904896..6ffab4e 100644 --- a/packages/native/auth/native_authentication_flutter/example/ios/Podfile.lock +++ b/packages/native/auth/native_authentication/example/ios/Podfile.lock @@ -1,26 +1,26 @@ PODS: - Flutter (1.0.0) - - native_authentication_flutter (0.0.1): + - native_authentication (0.0.1): - Flutter - objective_c (0.0.1): - Flutter DEPENDENCIES: - Flutter (from `Flutter`) - - native_authentication_flutter (from `.symlinks/plugins/native_authentication_flutter/ios`) + - native_authentication (from `.symlinks/plugins/native_authentication/ios`) - objective_c (from `.symlinks/plugins/objective_c/ios`) EXTERNAL SOURCES: Flutter: :path: Flutter - native_authentication_flutter: - :path: ".symlinks/plugins/native_authentication_flutter/ios" + native_authentication: + :path: ".symlinks/plugins/native_authentication/ios" objective_c: :path: ".symlinks/plugins/objective_c/ios" SPEC CHECKSUMS: Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7 - native_authentication_flutter: 79a32bdb0f74194081ccaaf5981419c945f83ff7 + native_authentication: 94d8748e8d138b3b492036fc9b36c223906a5306 objective_c: aedd8e7e00e2d8940f8ff085155bb7727fa88e93 PODFILE CHECKSUM: ade96bceabe3919b69c16573938e4268fe3a6c9d diff --git a/packages/native/auth/native_authentication_flutter/example/ios/Runner.xcodeproj/project.pbxproj b/packages/native/auth/native_authentication/example/ios/Runner.xcodeproj/project.pbxproj similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/ios/Runner.xcodeproj/project.pbxproj rename to packages/native/auth/native_authentication/example/ios/Runner.xcodeproj/project.pbxproj diff --git a/packages/native/auth/native_authentication_flutter/example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/packages/native/auth/native_authentication/example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata rename to packages/native/auth/native_authentication/example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata diff --git a/packages/native/auth/native_authentication_flutter/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/packages/native/auth/native_authentication/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist rename to packages/native/auth/native_authentication/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist diff --git a/packages/native/auth/native_authentication_flutter/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/packages/native/auth/native_authentication/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings rename to packages/native/auth/native_authentication/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings diff --git a/packages/native/auth/native_authentication_flutter/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/packages/native/auth/native_authentication/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme rename to packages/native/auth/native_authentication/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme diff --git a/packages/native/auth/native_authentication_flutter/example/ios/Runner.xcworkspace/contents.xcworkspacedata b/packages/native/auth/native_authentication/example/ios/Runner.xcworkspace/contents.xcworkspacedata similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/ios/Runner.xcworkspace/contents.xcworkspacedata rename to packages/native/auth/native_authentication/example/ios/Runner.xcworkspace/contents.xcworkspacedata diff --git a/packages/native/auth/native_authentication_flutter/example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/packages/native/auth/native_authentication/example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist rename to packages/native/auth/native_authentication/example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist diff --git a/packages/native/auth/native_authentication_flutter/example/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/packages/native/auth/native_authentication/example/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings rename to packages/native/auth/native_authentication/example/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings diff --git a/packages/native/auth/native_authentication_flutter/example/ios/Runner/AppDelegate.swift b/packages/native/auth/native_authentication/example/ios/Runner/AppDelegate.swift similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/ios/Runner/AppDelegate.swift rename to packages/native/auth/native_authentication/example/ios/Runner/AppDelegate.swift diff --git a/packages/native/auth/native_authentication_flutter/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json b/packages/native/auth/native_authentication/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json rename to packages/native/auth/native_authentication/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json diff --git a/packages/native/auth/native_authentication_flutter/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png b/packages/native/auth/native_authentication/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png rename to packages/native/auth/native_authentication/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png diff --git a/packages/native/auth/native_authentication_flutter/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png b/packages/native/auth/native_authentication/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png rename to packages/native/auth/native_authentication/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png diff --git a/packages/native/auth/native_authentication_flutter/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png b/packages/native/auth/native_authentication/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png rename to packages/native/auth/native_authentication/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png diff --git a/packages/native/auth/native_authentication_flutter/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png b/packages/native/auth/native_authentication/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png rename to packages/native/auth/native_authentication/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png diff --git a/packages/native/auth/native_authentication_flutter/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png b/packages/native/auth/native_authentication/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png rename to packages/native/auth/native_authentication/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png diff --git a/packages/native/auth/native_authentication_flutter/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png b/packages/native/auth/native_authentication/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png rename to packages/native/auth/native_authentication/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png diff --git a/packages/native/auth/native_authentication_flutter/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png b/packages/native/auth/native_authentication/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png rename to packages/native/auth/native_authentication/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png diff --git a/packages/native/auth/native_authentication_flutter/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png b/packages/native/auth/native_authentication/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png rename to packages/native/auth/native_authentication/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png diff --git a/packages/native/auth/native_authentication_flutter/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png b/packages/native/auth/native_authentication/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png rename to packages/native/auth/native_authentication/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png diff --git a/packages/native/auth/native_authentication_flutter/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png b/packages/native/auth/native_authentication/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png rename to packages/native/auth/native_authentication/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png diff --git a/packages/native/auth/native_authentication_flutter/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png b/packages/native/auth/native_authentication/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png rename to packages/native/auth/native_authentication/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png diff --git a/packages/native/auth/native_authentication_flutter/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png b/packages/native/auth/native_authentication/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png rename to packages/native/auth/native_authentication/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png diff --git a/packages/native/auth/native_authentication_flutter/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png b/packages/native/auth/native_authentication/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png rename to packages/native/auth/native_authentication/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png diff --git a/packages/native/auth/native_authentication_flutter/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png b/packages/native/auth/native_authentication/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png rename to packages/native/auth/native_authentication/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png diff --git a/packages/native/auth/native_authentication_flutter/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png b/packages/native/auth/native_authentication/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png rename to packages/native/auth/native_authentication/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png diff --git a/packages/native/auth/native_authentication_flutter/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json b/packages/native/auth/native_authentication/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json rename to packages/native/auth/native_authentication/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json diff --git a/packages/native/auth/native_authentication_flutter/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png b/packages/native/auth/native_authentication/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png rename to packages/native/auth/native_authentication/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png diff --git a/packages/native/auth/native_authentication_flutter/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png b/packages/native/auth/native_authentication/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png rename to packages/native/auth/native_authentication/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png diff --git a/packages/native/auth/native_authentication_flutter/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png b/packages/native/auth/native_authentication/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png rename to packages/native/auth/native_authentication/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png diff --git a/packages/native/auth/native_authentication_flutter/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md b/packages/native/auth/native_authentication/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md rename to packages/native/auth/native_authentication/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md diff --git a/packages/native/auth/native_authentication_flutter/example/ios/Runner/Base.lproj/LaunchScreen.storyboard b/packages/native/auth/native_authentication/example/ios/Runner/Base.lproj/LaunchScreen.storyboard similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/ios/Runner/Base.lproj/LaunchScreen.storyboard rename to packages/native/auth/native_authentication/example/ios/Runner/Base.lproj/LaunchScreen.storyboard diff --git a/packages/native/auth/native_authentication_flutter/example/ios/Runner/Base.lproj/Main.storyboard b/packages/native/auth/native_authentication/example/ios/Runner/Base.lproj/Main.storyboard similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/ios/Runner/Base.lproj/Main.storyboard rename to packages/native/auth/native_authentication/example/ios/Runner/Base.lproj/Main.storyboard diff --git a/packages/native/auth/native_authentication_flutter/example/ios/Runner/Info.plist b/packages/native/auth/native_authentication/example/ios/Runner/Info.plist similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/ios/Runner/Info.plist rename to packages/native/auth/native_authentication/example/ios/Runner/Info.plist diff --git a/packages/native/auth/native_authentication_flutter/example/ios/Runner/Runner-Bridging-Header.h b/packages/native/auth/native_authentication/example/ios/Runner/Runner-Bridging-Header.h similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/ios/Runner/Runner-Bridging-Header.h rename to packages/native/auth/native_authentication/example/ios/Runner/Runner-Bridging-Header.h diff --git a/packages/native/auth/native_authentication_flutter/example/ios/RunnerTests/RunnerTests.swift b/packages/native/auth/native_authentication/example/ios/RunnerTests/RunnerTests.swift similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/ios/RunnerTests/RunnerTests.swift rename to packages/native/auth/native_authentication/example/ios/RunnerTests/RunnerTests.swift diff --git a/packages/native/auth/native_authentication_flutter/example/lib/main.dart b/packages/native/auth/native_authentication/example/lib/main.dart similarity index 97% rename from packages/native/auth/native_authentication_flutter/example/lib/main.dart rename to packages/native/auth/native_authentication/example/lib/main.dart index 19ba5de..687ea6a 100644 --- a/packages/native/auth/native_authentication_flutter/example/lib/main.dart +++ b/packages/native/auth/native_authentication/example/lib/main.dart @@ -4,7 +4,7 @@ import 'dart:io'; import 'package:flutter/foundation.dart'; import 'package:flutter/material.dart'; import 'package:logging/logging.dart'; -import 'package:native_authentication_flutter/native_authentication_flutter.dart'; +import 'package:native_authentication/native_authentication.dart'; final NativeAuthentication nativeAuth = NativeAuthentication( logger: Logger.root, diff --git a/packages/native/auth/native_authentication_flutter/example/linux/.gitignore b/packages/native/auth/native_authentication/example/linux/.gitignore similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/linux/.gitignore rename to packages/native/auth/native_authentication/example/linux/.gitignore diff --git a/packages/native/auth/native_authentication_flutter/example/linux/CMakeLists.txt b/packages/native/auth/native_authentication/example/linux/CMakeLists.txt similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/linux/CMakeLists.txt rename to packages/native/auth/native_authentication/example/linux/CMakeLists.txt diff --git a/packages/native/auth/native_authentication_flutter/example/linux/flutter/CMakeLists.txt b/packages/native/auth/native_authentication/example/linux/flutter/CMakeLists.txt similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/linux/flutter/CMakeLists.txt rename to packages/native/auth/native_authentication/example/linux/flutter/CMakeLists.txt diff --git a/packages/native/auth/native_authentication_flutter/example/linux/flutter/generated_plugin_registrant.cc b/packages/native/auth/native_authentication/example/linux/flutter/generated_plugin_registrant.cc similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/linux/flutter/generated_plugin_registrant.cc rename to packages/native/auth/native_authentication/example/linux/flutter/generated_plugin_registrant.cc diff --git a/packages/native/auth/native_authentication_flutter/example/linux/flutter/generated_plugin_registrant.h b/packages/native/auth/native_authentication/example/linux/flutter/generated_plugin_registrant.h similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/linux/flutter/generated_plugin_registrant.h rename to packages/native/auth/native_authentication/example/linux/flutter/generated_plugin_registrant.h diff --git a/packages/native/auth/native_authentication_flutter/example/linux/flutter/generated_plugins.cmake b/packages/native/auth/native_authentication/example/linux/flutter/generated_plugins.cmake similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/linux/flutter/generated_plugins.cmake rename to packages/native/auth/native_authentication/example/linux/flutter/generated_plugins.cmake diff --git a/packages/native/auth/native_authentication_flutter/example/linux/main.cc b/packages/native/auth/native_authentication/example/linux/main.cc similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/linux/main.cc rename to packages/native/auth/native_authentication/example/linux/main.cc diff --git a/packages/native/auth/native_authentication_flutter/example/linux/my_application.cc b/packages/native/auth/native_authentication/example/linux/my_application.cc similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/linux/my_application.cc rename to packages/native/auth/native_authentication/example/linux/my_application.cc diff --git a/packages/native/auth/native_authentication_flutter/example/linux/my_application.h b/packages/native/auth/native_authentication/example/linux/my_application.h similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/linux/my_application.h rename to packages/native/auth/native_authentication/example/linux/my_application.h diff --git a/packages/native/auth/native_authentication_flutter/example/macos/.gitignore b/packages/native/auth/native_authentication/example/macos/.gitignore similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/macos/.gitignore rename to packages/native/auth/native_authentication/example/macos/.gitignore diff --git a/packages/native/auth/native_authentication_flutter/example/macos/Flutter/Flutter-Debug.xcconfig b/packages/native/auth/native_authentication/example/macos/Flutter/Flutter-Debug.xcconfig similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/macos/Flutter/Flutter-Debug.xcconfig rename to packages/native/auth/native_authentication/example/macos/Flutter/Flutter-Debug.xcconfig diff --git a/packages/native/auth/native_authentication_flutter/example/macos/Flutter/Flutter-Release.xcconfig b/packages/native/auth/native_authentication/example/macos/Flutter/Flutter-Release.xcconfig similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/macos/Flutter/Flutter-Release.xcconfig rename to packages/native/auth/native_authentication/example/macos/Flutter/Flutter-Release.xcconfig diff --git a/packages/native/auth/native_authentication_flutter/example/macos/Flutter/GeneratedPluginRegistrant.swift b/packages/native/auth/native_authentication/example/macos/Flutter/GeneratedPluginRegistrant.swift similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/macos/Flutter/GeneratedPluginRegistrant.swift rename to packages/native/auth/native_authentication/example/macos/Flutter/GeneratedPluginRegistrant.swift diff --git a/packages/native/auth/native_authentication_flutter/example/macos/Podfile b/packages/native/auth/native_authentication/example/macos/Podfile similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/macos/Podfile rename to packages/native/auth/native_authentication/example/macos/Podfile diff --git a/packages/native/auth/native_authentication_flutter/example/macos/Podfile.lock b/packages/native/auth/native_authentication/example/macos/Podfile.lock similarity index 69% rename from packages/native/auth/native_authentication_flutter/example/macos/Podfile.lock rename to packages/native/auth/native_authentication/example/macos/Podfile.lock index 433dd25..6fb8c87 100644 --- a/packages/native/auth/native_authentication_flutter/example/macos/Podfile.lock +++ b/packages/native/auth/native_authentication/example/macos/Podfile.lock @@ -1,26 +1,26 @@ PODS: - FlutterMacOS (1.0.0) - - native_authentication_flutter (0.0.1): + - native_authentication (0.0.1): - FlutterMacOS - objective_c (0.0.1): - FlutterMacOS DEPENDENCIES: - FlutterMacOS (from `Flutter/ephemeral`) - - native_authentication_flutter (from `Flutter/ephemeral/.symlinks/plugins/native_authentication_flutter/macos`) + - native_authentication (from `Flutter/ephemeral/.symlinks/plugins/native_authentication/macos`) - objective_c (from `Flutter/ephemeral/.symlinks/plugins/objective_c/macos`) EXTERNAL SOURCES: FlutterMacOS: :path: Flutter/ephemeral - native_authentication_flutter: - :path: Flutter/ephemeral/.symlinks/plugins/native_authentication_flutter/macos + native_authentication: + :path: Flutter/ephemeral/.symlinks/plugins/native_authentication/macos objective_c: :path: Flutter/ephemeral/.symlinks/plugins/objective_c/macos SPEC CHECKSUMS: FlutterMacOS: 8f6f14fa908a6fb3fba0cd85dbd81ec4b251fb24 - native_authentication_flutter: 29d54e19f1327b0bacfc48e0e73df4af38be43bd + native_authentication: 8304d578f838dad68192fa10e5e5e9847a5123aa objective_c: c13d3306e0fbf006bad001fd523e4bf8ebda8953 PODFILE CHECKSUM: 9ebaf0ce3d369aaa26a9ea0e159195ed94724cf3 diff --git a/packages/native/auth/native_authentication_flutter/example/macos/Runner.xcodeproj/project.pbxproj b/packages/native/auth/native_authentication/example/macos/Runner.xcodeproj/project.pbxproj similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/macos/Runner.xcodeproj/project.pbxproj rename to packages/native/auth/native_authentication/example/macos/Runner.xcodeproj/project.pbxproj diff --git a/packages/native/auth/native_authentication_flutter/example/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/packages/native/auth/native_authentication/example/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist rename to packages/native/auth/native_authentication/example/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist diff --git a/packages/native/auth/native_authentication_flutter/example/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/packages/native/auth/native_authentication/example/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme rename to packages/native/auth/native_authentication/example/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme diff --git a/packages/native/auth/native_authentication_flutter/example/macos/Runner.xcworkspace/contents.xcworkspacedata b/packages/native/auth/native_authentication/example/macos/Runner.xcworkspace/contents.xcworkspacedata similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/macos/Runner.xcworkspace/contents.xcworkspacedata rename to packages/native/auth/native_authentication/example/macos/Runner.xcworkspace/contents.xcworkspacedata diff --git a/packages/native/auth/native_authentication_flutter/example/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/packages/native/auth/native_authentication/example/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist rename to packages/native/auth/native_authentication/example/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist diff --git a/packages/native/auth/native_authentication_flutter/example/macos/Runner/AppDelegate.swift b/packages/native/auth/native_authentication/example/macos/Runner/AppDelegate.swift similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/macos/Runner/AppDelegate.swift rename to packages/native/auth/native_authentication/example/macos/Runner/AppDelegate.swift diff --git a/packages/native/auth/native_authentication_flutter/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json b/packages/native/auth/native_authentication/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json rename to packages/native/auth/native_authentication/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json diff --git a/packages/native/auth/native_authentication_flutter/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png b/packages/native/auth/native_authentication/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png rename to packages/native/auth/native_authentication/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png diff --git a/packages/native/auth/native_authentication_flutter/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png b/packages/native/auth/native_authentication/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png rename to packages/native/auth/native_authentication/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png diff --git a/packages/native/auth/native_authentication_flutter/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png b/packages/native/auth/native_authentication/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png rename to packages/native/auth/native_authentication/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png diff --git a/packages/native/auth/native_authentication_flutter/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png b/packages/native/auth/native_authentication/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png rename to packages/native/auth/native_authentication/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png diff --git a/packages/native/auth/native_authentication_flutter/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png b/packages/native/auth/native_authentication/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png rename to packages/native/auth/native_authentication/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png diff --git a/packages/native/auth/native_authentication_flutter/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png b/packages/native/auth/native_authentication/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png rename to packages/native/auth/native_authentication/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png diff --git a/packages/native/auth/native_authentication_flutter/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png b/packages/native/auth/native_authentication/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png rename to packages/native/auth/native_authentication/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png diff --git a/packages/native/auth/native_authentication_flutter/example/macos/Runner/Base.lproj/MainMenu.xib b/packages/native/auth/native_authentication/example/macos/Runner/Base.lproj/MainMenu.xib similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/macos/Runner/Base.lproj/MainMenu.xib rename to packages/native/auth/native_authentication/example/macos/Runner/Base.lproj/MainMenu.xib diff --git a/packages/native/auth/native_authentication_flutter/example/macos/Runner/Configs/AppInfo.xcconfig b/packages/native/auth/native_authentication/example/macos/Runner/Configs/AppInfo.xcconfig similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/macos/Runner/Configs/AppInfo.xcconfig rename to packages/native/auth/native_authentication/example/macos/Runner/Configs/AppInfo.xcconfig diff --git a/packages/native/auth/native_authentication_flutter/example/macos/Runner/Configs/Debug.xcconfig b/packages/native/auth/native_authentication/example/macos/Runner/Configs/Debug.xcconfig similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/macos/Runner/Configs/Debug.xcconfig rename to packages/native/auth/native_authentication/example/macos/Runner/Configs/Debug.xcconfig diff --git a/packages/native/auth/native_authentication_flutter/example/macos/Runner/Configs/Release.xcconfig b/packages/native/auth/native_authentication/example/macos/Runner/Configs/Release.xcconfig similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/macos/Runner/Configs/Release.xcconfig rename to packages/native/auth/native_authentication/example/macos/Runner/Configs/Release.xcconfig diff --git a/packages/native/auth/native_authentication_flutter/example/macos/Runner/Configs/Warnings.xcconfig b/packages/native/auth/native_authentication/example/macos/Runner/Configs/Warnings.xcconfig similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/macos/Runner/Configs/Warnings.xcconfig rename to packages/native/auth/native_authentication/example/macos/Runner/Configs/Warnings.xcconfig diff --git a/packages/native/auth/native_authentication_flutter/example/macos/Runner/DebugProfile.entitlements b/packages/native/auth/native_authentication/example/macos/Runner/DebugProfile.entitlements similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/macos/Runner/DebugProfile.entitlements rename to packages/native/auth/native_authentication/example/macos/Runner/DebugProfile.entitlements diff --git a/packages/native/auth/native_authentication_flutter/example/macos/Runner/Info.plist b/packages/native/auth/native_authentication/example/macos/Runner/Info.plist similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/macos/Runner/Info.plist rename to packages/native/auth/native_authentication/example/macos/Runner/Info.plist diff --git a/packages/native/auth/native_authentication_flutter/example/macos/Runner/MainFlutterWindow.swift b/packages/native/auth/native_authentication/example/macos/Runner/MainFlutterWindow.swift similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/macos/Runner/MainFlutterWindow.swift rename to packages/native/auth/native_authentication/example/macos/Runner/MainFlutterWindow.swift diff --git a/packages/native/auth/native_authentication_flutter/example/macos/Runner/Release.entitlements b/packages/native/auth/native_authentication/example/macos/Runner/Release.entitlements similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/macos/Runner/Release.entitlements rename to packages/native/auth/native_authentication/example/macos/Runner/Release.entitlements diff --git a/packages/native/auth/native_authentication_flutter/example/macos/RunnerTests/RunnerTests.swift b/packages/native/auth/native_authentication/example/macos/RunnerTests/RunnerTests.swift similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/macos/RunnerTests/RunnerTests.swift rename to packages/native/auth/native_authentication/example/macos/RunnerTests/RunnerTests.swift diff --git a/packages/native/auth/native_authentication_flutter/example/pubspec.yaml b/packages/native/auth/native_authentication/example/pubspec.yaml similarity index 66% rename from packages/native/auth/native_authentication_flutter/example/pubspec.yaml rename to packages/native/auth/native_authentication/example/pubspec.yaml index 57c2d85..a962581 100644 --- a/packages/native/auth/native_authentication_flutter/example/pubspec.yaml +++ b/packages/native/auth/native_authentication/example/pubspec.yaml @@ -1,5 +1,5 @@ -name: native_auth_flutter_example -description: "Demonstrates how to use the native_auth_flutter plugin." +name: native_authentication_example +description: "Demonstrates how to use the native_authentication plugin." publish_to: 'none' environment: @@ -9,7 +9,7 @@ dependencies: flutter: sdk: flutter logging: ^1.2.0 - native_authentication_flutter: + native_authentication: path: ../ dependency_overrides: diff --git a/packages/native/auth/native_authentication_flutter/example/web/favicon.png b/packages/native/auth/native_authentication/example/web/favicon.png similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/web/favicon.png rename to packages/native/auth/native_authentication/example/web/favicon.png diff --git a/packages/native/auth/native_authentication_flutter/example/web/icons/Icon-192.png b/packages/native/auth/native_authentication/example/web/icons/Icon-192.png similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/web/icons/Icon-192.png rename to packages/native/auth/native_authentication/example/web/icons/Icon-192.png diff --git a/packages/native/auth/native_authentication_flutter/example/web/icons/Icon-512.png b/packages/native/auth/native_authentication/example/web/icons/Icon-512.png similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/web/icons/Icon-512.png rename to packages/native/auth/native_authentication/example/web/icons/Icon-512.png diff --git a/packages/native/auth/native_authentication_flutter/example/web/icons/Icon-maskable-192.png b/packages/native/auth/native_authentication/example/web/icons/Icon-maskable-192.png similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/web/icons/Icon-maskable-192.png rename to packages/native/auth/native_authentication/example/web/icons/Icon-maskable-192.png diff --git a/packages/native/auth/native_authentication_flutter/example/web/icons/Icon-maskable-512.png b/packages/native/auth/native_authentication/example/web/icons/Icon-maskable-512.png similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/web/icons/Icon-maskable-512.png rename to packages/native/auth/native_authentication/example/web/icons/Icon-maskable-512.png diff --git a/packages/native/auth/native_authentication_flutter/example/web/index.html b/packages/native/auth/native_authentication/example/web/index.html similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/web/index.html rename to packages/native/auth/native_authentication/example/web/index.html diff --git a/packages/native/auth/native_authentication_flutter/example/web/manifest.json b/packages/native/auth/native_authentication/example/web/manifest.json similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/web/manifest.json rename to packages/native/auth/native_authentication/example/web/manifest.json diff --git a/packages/native/auth/native_authentication_flutter/example/windows/.gitignore b/packages/native/auth/native_authentication/example/windows/.gitignore similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/windows/.gitignore rename to packages/native/auth/native_authentication/example/windows/.gitignore diff --git a/packages/native/auth/native_authentication_flutter/example/windows/CMakeLists.txt b/packages/native/auth/native_authentication/example/windows/CMakeLists.txt similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/windows/CMakeLists.txt rename to packages/native/auth/native_authentication/example/windows/CMakeLists.txt diff --git a/packages/native/auth/native_authentication_flutter/example/windows/flutter/CMakeLists.txt b/packages/native/auth/native_authentication/example/windows/flutter/CMakeLists.txt similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/windows/flutter/CMakeLists.txt rename to packages/native/auth/native_authentication/example/windows/flutter/CMakeLists.txt diff --git a/packages/native/auth/native_authentication_flutter/example/windows/flutter/generated_plugin_registrant.cc b/packages/native/auth/native_authentication/example/windows/flutter/generated_plugin_registrant.cc similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/windows/flutter/generated_plugin_registrant.cc rename to packages/native/auth/native_authentication/example/windows/flutter/generated_plugin_registrant.cc diff --git a/packages/native/auth/native_authentication_flutter/example/windows/flutter/generated_plugin_registrant.h b/packages/native/auth/native_authentication/example/windows/flutter/generated_plugin_registrant.h similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/windows/flutter/generated_plugin_registrant.h rename to packages/native/auth/native_authentication/example/windows/flutter/generated_plugin_registrant.h diff --git a/packages/native/auth/native_authentication_flutter/example/windows/flutter/generated_plugins.cmake b/packages/native/auth/native_authentication/example/windows/flutter/generated_plugins.cmake similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/windows/flutter/generated_plugins.cmake rename to packages/native/auth/native_authentication/example/windows/flutter/generated_plugins.cmake diff --git a/packages/native/auth/native_authentication_flutter/example/windows/runner/CMakeLists.txt b/packages/native/auth/native_authentication/example/windows/runner/CMakeLists.txt similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/windows/runner/CMakeLists.txt rename to packages/native/auth/native_authentication/example/windows/runner/CMakeLists.txt diff --git a/packages/native/auth/native_authentication_flutter/example/windows/runner/Runner.rc b/packages/native/auth/native_authentication/example/windows/runner/Runner.rc similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/windows/runner/Runner.rc rename to packages/native/auth/native_authentication/example/windows/runner/Runner.rc diff --git a/packages/native/auth/native_authentication_flutter/example/windows/runner/flutter_window.cpp b/packages/native/auth/native_authentication/example/windows/runner/flutter_window.cpp similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/windows/runner/flutter_window.cpp rename to packages/native/auth/native_authentication/example/windows/runner/flutter_window.cpp diff --git a/packages/native/auth/native_authentication_flutter/example/windows/runner/flutter_window.h b/packages/native/auth/native_authentication/example/windows/runner/flutter_window.h similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/windows/runner/flutter_window.h rename to packages/native/auth/native_authentication/example/windows/runner/flutter_window.h diff --git a/packages/native/auth/native_authentication_flutter/example/windows/runner/main.cpp b/packages/native/auth/native_authentication/example/windows/runner/main.cpp similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/windows/runner/main.cpp rename to packages/native/auth/native_authentication/example/windows/runner/main.cpp diff --git a/packages/native/auth/native_authentication_flutter/example/windows/runner/resource.h b/packages/native/auth/native_authentication/example/windows/runner/resource.h similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/windows/runner/resource.h rename to packages/native/auth/native_authentication/example/windows/runner/resource.h diff --git a/packages/native/auth/native_authentication_flutter/example/windows/runner/resources/app_icon.ico b/packages/native/auth/native_authentication/example/windows/runner/resources/app_icon.ico similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/windows/runner/resources/app_icon.ico rename to packages/native/auth/native_authentication/example/windows/runner/resources/app_icon.ico diff --git a/packages/native/auth/native_authentication_flutter/example/windows/runner/runner.exe.manifest b/packages/native/auth/native_authentication/example/windows/runner/runner.exe.manifest similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/windows/runner/runner.exe.manifest rename to packages/native/auth/native_authentication/example/windows/runner/runner.exe.manifest diff --git a/packages/native/auth/native_authentication_flutter/example/windows/runner/utils.cpp b/packages/native/auth/native_authentication/example/windows/runner/utils.cpp similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/windows/runner/utils.cpp rename to packages/native/auth/native_authentication/example/windows/runner/utils.cpp diff --git a/packages/native/auth/native_authentication_flutter/example/windows/runner/utils.h b/packages/native/auth/native_authentication/example/windows/runner/utils.h similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/windows/runner/utils.h rename to packages/native/auth/native_authentication/example/windows/runner/utils.h diff --git a/packages/native/auth/native_authentication_flutter/example/windows/runner/win32_window.cpp b/packages/native/auth/native_authentication/example/windows/runner/win32_window.cpp similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/windows/runner/win32_window.cpp rename to packages/native/auth/native_authentication/example/windows/runner/win32_window.cpp diff --git a/packages/native/auth/native_authentication_flutter/example/windows/runner/win32_window.h b/packages/native/auth/native_authentication/example/windows/runner/win32_window.h similarity index 100% rename from packages/native/auth/native_authentication_flutter/example/windows/runner/win32_window.h rename to packages/native/auth/native_authentication/example/windows/runner/win32_window.h diff --git a/packages/native/auth/native_authentication_flutter/ffigen.ios.yaml b/packages/native/auth/native_authentication/ffigen.ios.yaml similarity index 100% rename from packages/native/auth/native_authentication_flutter/ffigen.ios.yaml rename to packages/native/auth/native_authentication/ffigen.ios.yaml diff --git a/packages/native/auth/native_authentication_flutter/ffigen.macos.yaml b/packages/native/auth/native_authentication/ffigen.macos.yaml similarity index 100% rename from packages/native/auth/native_authentication_flutter/ffigen.macos.yaml rename to packages/native/auth/native_authentication/ffigen.macos.yaml diff --git a/packages/native/auth/native_authentication_flutter/ios/Classes/AuthenticationServices.ffi.m b/packages/native/auth/native_authentication/ios/Classes/AuthenticationServices.ffi.m similarity index 100% rename from packages/native/auth/native_authentication_flutter/ios/Classes/AuthenticationServices.ffi.m rename to packages/native/auth/native_authentication/ios/Classes/AuthenticationServices.ffi.m diff --git a/packages/native/auth/native_authentication_flutter/ios/native_authentication_flutter.podspec b/packages/native/auth/native_authentication/ios/native_authentication.podspec similarity index 89% rename from packages/native/auth/native_authentication_flutter/ios/native_authentication_flutter.podspec rename to packages/native/auth/native_authentication/ios/native_authentication.podspec index e1b2265..7692893 100644 --- a/packages/native/auth/native_authentication_flutter/ios/native_authentication_flutter.podspec +++ b/packages/native/auth/native_authentication/ios/native_authentication.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| - s.name = 'native_authentication_flutter' + s.name = 'native_authentication' s.version = '0.0.1' - s.summary = 'Native support for package:native_authentication_flutter' + s.summary = 'Native support for package:native_authentication' s.description = <<-DESC Wraps ASWebAuthenticationSession for iOS. DESC diff --git a/packages/native/auth/native_authentication_flutter/jnigen.yaml b/packages/native/auth/native_authentication/jnigen.yaml similarity index 93% rename from packages/native/auth/native_authentication_flutter/jnigen.yaml rename to packages/native/auth/native_authentication/jnigen.yaml index 4b1a20e..93b69af 100644 --- a/packages/native/auth/native_authentication_flutter/jnigen.yaml +++ b/packages/native/auth/native_authentication/jnigen.yaml @@ -18,7 +18,6 @@ classes: - dev.celest.native_authentication.Callback - dev.celest.native_authentication.CallbackSession - dev.celest.native_authentication.CallbackResult - - io.flutter.embedding.android.FlutterActivity - java.lang.Runnable - java.lang.Exception diff --git a/packages/native/auth/native_authentication_flutter/lib/native_authentication_flutter.dart b/packages/native/auth/native_authentication/lib/native_authentication.dart similarity index 71% rename from packages/native/auth/native_authentication_flutter/lib/native_authentication_flutter.dart rename to packages/native/auth/native_authentication/lib/native_authentication.dart index 7f307df..0a4ad15 100644 --- a/packages/native/auth/native_authentication_flutter/lib/native_authentication_flutter.dart +++ b/packages/native/auth/native_authentication/lib/native_authentication.dart @@ -1,10 +1,10 @@ import 'package:logging/logging.dart'; import 'package:meta/meta.dart'; -import 'package:native_authentication_flutter/src/model/callback_session.dart'; -import 'package:native_authentication_flutter/src/model/callback_type.dart'; -import 'package:native_authentication_flutter/src/native_auth.platform_stub.dart' - if (dart.library.js_interop) 'package:native_authentication_flutter/src/native_auth.platform_web.dart' - if (dart.library.io) 'package:native_authentication_flutter/src/native_auth.platform_io.dart'; +import 'package:native_authentication/src/model/callback_session.dart'; +import 'package:native_authentication/src/model/callback_type.dart'; +import 'package:native_authentication/src/native_auth.platform_stub.dart' + if (dart.library.js_interop) 'package:native_authentication/src/native_auth.platform_web.dart' + if (dart.library.io) 'package:native_authentication/src/native_auth.platform_io.dart'; export 'src/model/callback_session.dart' show CallbackSession; export 'src/model/callback_type.dart'; diff --git a/packages/native/auth/native_authentication_flutter/lib/src/model/callback_session.dart b/packages/native/auth/native_authentication/lib/src/model/callback_session.dart similarity index 100% rename from packages/native/auth/native_authentication_flutter/lib/src/model/callback_session.dart rename to packages/native/auth/native_authentication/lib/src/model/callback_session.dart diff --git a/packages/native/auth/native_authentication_flutter/lib/src/model/callback_type.dart b/packages/native/auth/native_authentication/lib/src/model/callback_type.dart similarity index 100% rename from packages/native/auth/native_authentication_flutter/lib/src/model/callback_type.dart rename to packages/native/auth/native_authentication/lib/src/model/callback_type.dart diff --git a/packages/native/auth/native_authentication_flutter/lib/src/model/exception.dart b/packages/native/auth/native_authentication/lib/src/model/exception.dart similarity index 100% rename from packages/native/auth/native_authentication_flutter/lib/src/model/exception.dart rename to packages/native/auth/native_authentication/lib/src/model/exception.dart diff --git a/packages/native/auth/native_authentication_flutter/lib/src/model/oauth_result.dart b/packages/native/auth/native_authentication/lib/src/model/oauth_result.dart similarity index 99% rename from packages/native/auth/native_authentication_flutter/lib/src/model/oauth_result.dart rename to packages/native/auth/native_authentication/lib/src/model/oauth_result.dart index 799b0f6..b4a40c6 100644 --- a/packages/native/auth/native_authentication_flutter/lib/src/model/oauth_result.dart +++ b/packages/native/auth/native_authentication/lib/src/model/oauth_result.dart @@ -1,4 +1,4 @@ -import 'package:native_authentication_flutter/src/model/exception.dart'; +import 'package:native_authentication/src/model/exception.dart'; /// Error codes of a failed OAuth flow. /// diff --git a/packages/native/auth/native_authentication_flutter/lib/src/native/android/jni_bindings.ffi.dart b/packages/native/auth/native_authentication/lib/src/native/android/jni_bindings.ffi.dart similarity index 100% rename from packages/native/auth/native_authentication_flutter/lib/src/native/android/jni_bindings.ffi.dart rename to packages/native/auth/native_authentication/lib/src/native/android/jni_bindings.ffi.dart diff --git a/packages/native/auth/native_authentication_flutter/lib/src/native/ios/authentication_services.ffi.dart b/packages/native/auth/native_authentication/lib/src/native/ios/authentication_services.ffi.dart similarity index 100% rename from packages/native/auth/native_authentication_flutter/lib/src/native/ios/authentication_services.ffi.dart rename to packages/native/auth/native_authentication/lib/src/native/ios/authentication_services.ffi.dart diff --git a/packages/native/auth/native_authentication_flutter/lib/src/native/macos/authentication_services.ffi.dart b/packages/native/auth/native_authentication/lib/src/native/macos/authentication_services.ffi.dart similarity index 100% rename from packages/native/auth/native_authentication_flutter/lib/src/native/macos/authentication_services.ffi.dart rename to packages/native/auth/native_authentication/lib/src/native/macos/authentication_services.ffi.dart diff --git a/packages/native/auth/native_authentication_flutter/lib/src/native_auth.platform_io.dart b/packages/native/auth/native_authentication/lib/src/native_auth.platform_io.dart similarity index 59% rename from packages/native/auth/native_authentication_flutter/lib/src/native_auth.platform_io.dart rename to packages/native/auth/native_authentication/lib/src/native_auth.platform_io.dart index 9dade84..0e75c6c 100644 --- a/packages/native/auth/native_authentication_flutter/lib/src/native_auth.platform_io.dart +++ b/packages/native/auth/native_authentication/lib/src/native_auth.platform_io.dart @@ -2,27 +2,29 @@ import 'dart:io'; import 'package:logging/logging.dart'; import 'package:meta/meta.dart'; -import 'package:native_authentication_flutter/native_authentication_flutter.dart'; -import 'package:native_authentication_flutter/src/platform/native_auth.android.dart'; -import 'package:native_authentication_flutter/src/platform/native_auth.desktop.dart'; -import 'package:native_authentication_flutter/src/platform/native_auth.ios.dart'; -import 'package:native_authentication_flutter/src/platform/native_auth.macos.dart'; +import 'package:native_authentication/native_authentication.dart'; +import 'package:native_authentication/src/platform/native_auth.android.dart'; +import 'package:native_authentication/src/platform/native_auth.desktop.dart'; +import 'package:native_authentication/src/platform/native_auth.ios.dart'; +import 'package:native_authentication/src/platform/native_auth.macos.dart'; abstract base class NativeAuthenticationPlatform implements NativeAuthentication { factory NativeAuthenticationPlatform({ Logger? logger, }) { - if (Platform.isAndroid) { - return NativeAuthenticationAndroid(logger: logger); + if (const bool.fromEnvironment('dart.library.ui')) { + if (Platform.isAndroid) { + return NativeAuthenticationAndroid(logger: logger); + } + if (Platform.isIOS) { + return NativeAuthenticationIos(logger: logger); + } + if (Platform.isMacOS) { + return NativeAuthenticationMacOs(logger: logger); + } } - if (Platform.isIOS) { - return NativeAuthenticationIos(logger: logger); - } - if (Platform.isMacOS) { - return NativeAuthenticationMacOs(logger: logger); - } - if (Platform.isWindows || Platform.isLinux) { + if (Platform.isWindows || Platform.isLinux || Platform.isMacOS) { return NativeAuthenticationDesktop(logger: logger); } throw UnsupportedError('Unsupported platform: ${Platform.operatingSystem}'); diff --git a/packages/native/auth/native_authentication_flutter/lib/src/native_auth.platform_stub.dart b/packages/native/auth/native_authentication/lib/src/native_auth.platform_stub.dart similarity index 81% rename from packages/native/auth/native_authentication_flutter/lib/src/native_auth.platform_stub.dart rename to packages/native/auth/native_authentication/lib/src/native_auth.platform_stub.dart index 98d416e..bd524ad 100644 --- a/packages/native/auth/native_authentication_flutter/lib/src/native_auth.platform_stub.dart +++ b/packages/native/auth/native_authentication/lib/src/native_auth.platform_stub.dart @@ -1,5 +1,5 @@ import 'package:logging/logging.dart'; -import 'package:native_authentication_flutter/native_authentication_flutter.dart'; +import 'package:native_authentication/native_authentication.dart'; final class NativeAuthenticationPlatform implements NativeAuthentication { NativeAuthenticationPlatform({Logger? logger}); diff --git a/packages/native/auth/native_authentication_flutter/lib/src/native_auth.platform_web.dart b/packages/native/auth/native_authentication/lib/src/native_auth.platform_web.dart similarity index 88% rename from packages/native/auth/native_authentication_flutter/lib/src/native_auth.platform_web.dart rename to packages/native/auth/native_authentication/lib/src/native_auth.platform_web.dart index a3aa650..0388e9d 100644 --- a/packages/native/auth/native_authentication_flutter/lib/src/native_auth.platform_web.dart +++ b/packages/native/auth/native_authentication/lib/src/native_auth.platform_web.dart @@ -1,8 +1,8 @@ import 'dart:async'; import 'package:logging/logging.dart'; -import 'package:native_authentication_flutter/native_authentication_flutter.dart'; -import 'package:native_authentication_flutter/src/model/callback_session.dart'; +import 'package:native_authentication/native_authentication.dart'; +import 'package:native_authentication/src/model/callback_session.dart'; import 'package:path/path.dart'; import 'package:web/web.dart'; diff --git a/packages/native/auth/native_authentication_flutter/lib/src/platform/native_auth.android.dart b/packages/native/auth/native_authentication/lib/src/platform/native_auth.android.dart similarity index 92% rename from packages/native/auth/native_authentication_flutter/lib/src/platform/native_auth.android.dart rename to packages/native/auth/native_authentication/lib/src/platform/native_auth.android.dart index cb0ce17..637d09f 100644 --- a/packages/native/auth/native_authentication_flutter/lib/src/platform/native_auth.android.dart +++ b/packages/native/auth/native_authentication/lib/src/platform/native_auth.android.dart @@ -2,11 +2,11 @@ import 'dart:async'; import 'package:jni/jni.dart'; import 'package:logging/logging.dart'; -import 'package:native_authentication_flutter/native_authentication_flutter.dart'; -import 'package:native_authentication_flutter/src/model/callback_session.dart'; -import 'package:native_authentication_flutter/src/native/android/jni_bindings.ffi.dart' +import 'package:native_authentication/native_authentication.dart'; +import 'package:native_authentication/src/model/callback_session.dart'; +import 'package:native_authentication/src/native/android/jni_bindings.ffi.dart' as android; -import 'package:native_authentication_flutter/src/native_auth.platform_io.dart'; +import 'package:native_authentication/src/native_auth.platform_io.dart'; final class NativeAuthenticationAndroid extends NativeAuthenticationPlatform { NativeAuthenticationAndroid({Logger? logger}) @@ -116,6 +116,7 @@ final class NativeAuthenticationAndroid extends NativeAuthenticationPlatform { 'Another redirect operation is in progress (id=${currentSession.id})', ); } + // ignore: invalid_use_of_internal_member final sessionId = NativeAuthCallbackSessionImpl.nextId(); final cancellationToken = _nativeAuth.startCallback( sessionId, diff --git a/packages/native/auth/native_authentication_flutter/lib/src/platform/native_auth.desktop.dart b/packages/native/auth/native_authentication/lib/src/platform/native_auth.desktop.dart similarity index 96% rename from packages/native/auth/native_authentication_flutter/lib/src/platform/native_auth.desktop.dart rename to packages/native/auth/native_authentication/lib/src/platform/native_auth.desktop.dart index 4f4e0ff..6fcc14b 100644 --- a/packages/native/auth/native_authentication_flutter/lib/src/platform/native_auth.desktop.dart +++ b/packages/native/auth/native_authentication/lib/src/platform/native_auth.desktop.dart @@ -3,9 +3,9 @@ import 'dart:convert'; import 'dart:io'; import 'package:logging/logging.dart'; -import 'package:native_authentication_flutter/native_authentication_flutter.dart'; -import 'package:native_authentication_flutter/src/model/callback_session.dart'; -import 'package:native_authentication_flutter/src/native_auth.platform_io.dart'; +import 'package:native_authentication/native_authentication.dart'; +import 'package:native_authentication/src/model/callback_session.dart'; +import 'package:native_authentication/src/native_auth.platform_io.dart'; import 'package:stream_transform/stream_transform.dart'; base class NativeAuthenticationDesktop extends NativeAuthenticationPlatform { diff --git a/packages/native/auth/native_authentication_flutter/lib/src/platform/native_auth.ios.dart b/packages/native/auth/native_authentication/lib/src/platform/native_auth.ios.dart similarity index 93% rename from packages/native/auth/native_authentication_flutter/lib/src/platform/native_auth.ios.dart rename to packages/native/auth/native_authentication/lib/src/platform/native_auth.ios.dart index 1239d22..50b6139 100644 --- a/packages/native/auth/native_authentication_flutter/lib/src/platform/native_auth.ios.dart +++ b/packages/native/auth/native_authentication/lib/src/platform/native_auth.ios.dart @@ -2,10 +2,10 @@ import 'dart:async'; import 'dart:ffi'; import 'package:logging/logging.dart'; -import 'package:native_authentication_flutter/native_authentication_flutter.dart'; -import 'package:native_authentication_flutter/src/model/callback_session.dart'; -import 'package:native_authentication_flutter/src/native/ios/authentication_services.ffi.dart'; -import 'package:native_authentication_flutter/src/native_auth.platform_io.dart'; +import 'package:native_authentication/native_authentication.dart'; +import 'package:native_authentication/src/model/callback_session.dart'; +import 'package:native_authentication/src/native/ios/authentication_services.ffi.dart'; +import 'package:native_authentication/src/native_auth.platform_io.dart'; import 'package:objective_c/objective_c.dart' as objc; final class NativeAuthenticationIos extends NativeAuthenticationPlatform { @@ -87,6 +87,7 @@ final class NativeAuthenticationIos extends NativeAuthenticationPlatform { logger?.fine('Started ASWebAuthenticationSession'); completion.future.whenComplete(_cleanUp).ignore(); return NativeAuthCallbackSessionImpl( + // ignore: invalid_use_of_internal_member NativeAuthCallbackSessionImpl.nextId(), completion, session.cancel, diff --git a/packages/native/auth/native_authentication_flutter/lib/src/platform/native_auth.macos.dart b/packages/native/auth/native_authentication/lib/src/platform/native_auth.macos.dart similarity index 94% rename from packages/native/auth/native_authentication_flutter/lib/src/platform/native_auth.macos.dart rename to packages/native/auth/native_authentication/lib/src/platform/native_auth.macos.dart index fb0fe90..2a50e4e 100644 --- a/packages/native/auth/native_authentication_flutter/lib/src/platform/native_auth.macos.dart +++ b/packages/native/auth/native_authentication/lib/src/platform/native_auth.macos.dart @@ -1,10 +1,10 @@ import 'dart:async'; import 'dart:ffi'; -import 'package:native_authentication_flutter/native_authentication_flutter.dart'; -import 'package:native_authentication_flutter/src/model/callback_session.dart'; -import 'package:native_authentication_flutter/src/native/macos/authentication_services.ffi.dart'; -import 'package:native_authentication_flutter/src/platform/native_auth.desktop.dart'; +import 'package:native_authentication/native_authentication.dart'; +import 'package:native_authentication/src/model/callback_session.dart'; +import 'package:native_authentication/src/native/macos/authentication_services.ffi.dart'; +import 'package:native_authentication/src/platform/native_auth.desktop.dart'; import 'package:objective_c/objective_c.dart' as objc; final class NativeAuthenticationMacOs extends NativeAuthenticationDesktop { @@ -111,6 +111,7 @@ final class NativeAuthenticationMacOs extends NativeAuthenticationDesktop { logger?.fine('Started ASWebAuthenticationSession'); completion.future.whenComplete(_cleanUp).ignore(); return NativeAuthCallbackSessionImpl( + // ignore: invalid_use_of_internal_member NativeAuthCallbackSessionImpl.nextId(), completion, session.cancel, diff --git a/packages/native/auth/native_authentication_flutter/macos/Classes/AuthenticationServices.ffi.m b/packages/native/auth/native_authentication/macos/Classes/AuthenticationServices.ffi.m similarity index 100% rename from packages/native/auth/native_authentication_flutter/macos/Classes/AuthenticationServices.ffi.m rename to packages/native/auth/native_authentication/macos/Classes/AuthenticationServices.ffi.m diff --git a/packages/native/auth/native_authentication_flutter/macos/native_authentication_flutter.podspec b/packages/native/auth/native_authentication/macos/native_authentication.podspec similarity index 90% rename from packages/native/auth/native_authentication_flutter/macos/native_authentication_flutter.podspec rename to packages/native/auth/native_authentication/macos/native_authentication.podspec index e7d3f07..c37bcdf 100644 --- a/packages/native/auth/native_authentication_flutter/macos/native_authentication_flutter.podspec +++ b/packages/native/auth/native_authentication/macos/native_authentication.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| - s.name = 'native_authentication_flutter' + s.name = 'native_authentication' s.version = '0.0.1' - s.summary = 'Native support for package:native_authentication_flutter' + s.summary = 'Native support for package:native_authentication' s.description = <<-DESC Wraps ASWebAuthenticationSession for macOS. DESC diff --git a/packages/native/auth/native_authentication_flutter/pubspec.yaml b/packages/native/auth/native_authentication/pubspec.yaml similarity index 75% rename from packages/native/auth/native_authentication_flutter/pubspec.yaml rename to packages/native/auth/native_authentication/pubspec.yaml index 1484dd3..79c936a 100644 --- a/packages/native/auth/native_authentication_flutter/pubspec.yaml +++ b/packages/native/auth/native_authentication/pubspec.yaml @@ -1,7 +1,6 @@ -name: native_authentication_flutter +name: native_authentication description: Native bindings for platform-specific authentication APIs like ASWebAuthenticationSession and Chrome Custom Tabs. -version: 0.0.1 -publish_to: none +version: 0.1.0 environment: sdk: ^3.3.0 @@ -11,22 +10,20 @@ dependencies: async: ^2.11.0 collection: ^1.18.0 ffi: ^2.1.3 - flutter: - sdk: flutter jni: '>=0.9.0 <0.11.0' logging: ^1.2.0 meta: ^1.15.0 + native_assets_cli: ^0.7.2 + native_toolchain_c: ^0.5.2 objective_c: ^1.1.0 path: ^1.9.0 - plugin_platform_interface: ^2.0.0 stream_transform: ^2.1.0 web: '>=0.5.0 <2.0.0' dev_dependencies: ffigen: ^13.0.0 - flutter_test: - sdk: flutter - flutter_lints: ^4.0.0 + test: any + lints: ^4.0.0 jnigen: ^0.10.0 flutter: diff --git a/packages/native/auth/native_authentication/test/native_authentication_test.dart b/packages/native/auth/native_authentication/test/native_authentication_test.dart new file mode 100644 index 0000000..7ee3ced --- /dev/null +++ b/packages/native/auth/native_authentication/test/native_authentication_test.dart @@ -0,0 +1,21 @@ +import 'package:logging/logging.dart'; +import 'package:native_authentication/native_authentication.dart'; +import 'package:test/test.dart'; + +void main() { + final nativeAuth = NativeAuthentication( + logger: Logger.root + ..onRecord.listen((record) { + print('${record.level.name}: ${record.message}'); + }), + ); + test('', () { + expect( + () => nativeAuth.startCallback( + uri: Uri.https('google.com'), + type: const CallbackType.localhost(), + ), + returnsNormally, + ); + }); +} diff --git a/packages/native/auth/native_authentication_flutter/.gitignore b/packages/native/auth/native_authentication_flutter/.gitignore deleted file mode 100644 index ac5aa98..0000000 --- a/packages/native/auth/native_authentication_flutter/.gitignore +++ /dev/null @@ -1,29 +0,0 @@ -# Miscellaneous -*.class -*.log -*.pyc -*.swp -.DS_Store -.atom/ -.buildlog/ -.history -.svn/ -migrate_working_dir/ - -# IntelliJ related -*.iml -*.ipr -*.iws -.idea/ - -# The .vscode folder contains launch configuration and tasks you configure in -# VS Code which you may wish to be included in version control, so this line -# is commented out by default. -#.vscode/ - -# Flutter/Dart/Pub related -# Libraries should not include pubspec.lock, per https://dart.dev/guides/libraries/private-files#pubspeclock. -/pubspec.lock -**/doc/api/ -.dart_tool/ -build/ diff --git a/packages/native/auth/native_authentication_flutter/.metadata b/packages/native/auth/native_authentication_flutter/.metadata deleted file mode 100644 index d832fc3..0000000 --- a/packages/native/auth/native_authentication_flutter/.metadata +++ /dev/null @@ -1,36 +0,0 @@ -# This file tracks properties of this Flutter project. -# Used by Flutter tool to assess capabilities and perform upgrades etc. -# -# This file should be version controlled and should not be manually edited. - -version: - revision: "80c2e84975bbd28ecf5f8d4bd4ca5a2490bfc819" - channel: "stable" - -project_type: plugin_ffi - -# Tracks metadata for the flutter migrate command -migration: - platforms: - - platform: root - create_revision: 80c2e84975bbd28ecf5f8d4bd4ca5a2490bfc819 - base_revision: 80c2e84975bbd28ecf5f8d4bd4ca5a2490bfc819 - - platform: android - create_revision: 80c2e84975bbd28ecf5f8d4bd4ca5a2490bfc819 - base_revision: 80c2e84975bbd28ecf5f8d4bd4ca5a2490bfc819 - - platform: ios - create_revision: 80c2e84975bbd28ecf5f8d4bd4ca5a2490bfc819 - base_revision: 80c2e84975bbd28ecf5f8d4bd4ca5a2490bfc819 - - platform: macos - create_revision: 80c2e84975bbd28ecf5f8d4bd4ca5a2490bfc819 - base_revision: 80c2e84975bbd28ecf5f8d4bd4ca5a2490bfc819 - - # User provided section - - # List of Local paths (relative to this file) that should be - # ignored by the migrate tool. - # - # Files that are not part of the templates will be ignored by default. - unmanaged_files: - - 'lib/main.dart' - - 'ios/Runner.xcodeproj/project.pbxproj' diff --git a/packages/native/auth/native_authentication_flutter/analysis_options.yaml b/packages/native/auth/native_authentication_flutter/analysis_options.yaml deleted file mode 100644 index 17d3b91..0000000 --- a/packages/native/auth/native_authentication_flutter/analysis_options.yaml +++ /dev/null @@ -1,5 +0,0 @@ -include: package:flutter_lints/flutter.yaml - -analyzer: - exclude: - - '**/*.ffi.dart' diff --git a/packages/native/auth/native_authentication_flutter/android/settings.gradle b/packages/native/auth/native_authentication_flutter/android/settings.gradle deleted file mode 100644 index bba3b7d..0000000 --- a/packages/native/auth/native_authentication_flutter/android/settings.gradle +++ /dev/null @@ -1 +0,0 @@ -rootProject.name = 'native_authentication_flutter' diff --git a/packages/native/auth/native_authentication_flutter/example/pubspec.lock b/packages/native/auth/native_authentication_flutter/example/pubspec.lock deleted file mode 100644 index 8091665..0000000 --- a/packages/native/auth/native_authentication_flutter/example/pubspec.lock +++ /dev/null @@ -1,292 +0,0 @@ -# Generated by pub -# See https://dart.dev/tools/pub/glossary#lockfile -packages: - args: - dependency: transitive - description: - name: args - sha256: "7cf60b9f0cc88203c5a190b4cd62a99feea42759a7fa695010eb5de1c0b2252a" - url: "https://pub.dev" - source: hosted - version: "2.5.0" - async: - dependency: transitive - description: - name: async - sha256: "947bfcf187f74dbc5e146c9eb9c0f10c9f8b30743e341481c1e2ed3ecc18c20c" - url: "https://pub.dev" - source: hosted - version: "2.11.0" - boolean_selector: - dependency: transitive - description: - name: boolean_selector - sha256: "6cfb5af12253eaf2b368f07bacc5a80d1301a071c73360d746b7f2e32d762c66" - url: "https://pub.dev" - source: hosted - version: "2.1.1" - characters: - dependency: transitive - description: - name: characters - sha256: "04a925763edad70e8443c99234dc3328f442e811f1d8fd1a72f1c8ad0f69a605" - url: "https://pub.dev" - source: hosted - version: "1.3.0" - clock: - dependency: transitive - description: - name: clock - sha256: cb6d7f03e1de671e34607e909a7213e31d7752be4fb66a86d29fe1eb14bfb5cf - url: "https://pub.dev" - source: hosted - version: "1.1.1" - collection: - dependency: transitive - description: - name: collection - sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a - url: "https://pub.dev" - source: hosted - version: "1.18.0" - fake_async: - dependency: transitive - description: - name: fake_async - sha256: "511392330127add0b769b75a987850d136345d9227c6b94c96a04cf4a391bf78" - url: "https://pub.dev" - source: hosted - version: "1.3.1" - ffi: - dependency: transitive - description: - name: ffi - sha256: "16ed7b077ef01ad6170a3d0c57caa4a112a38d7a2ed5602e0aca9ca6f3d98da6" - url: "https://pub.dev" - source: hosted - version: "2.1.3" - flutter: - dependency: "direct main" - description: flutter - source: sdk - version: "0.0.0" - flutter_lints: - dependency: "direct dev" - description: - name: flutter_lints - sha256: "3f41d009ba7172d5ff9be5f6e6e6abb4300e263aab8866d2a0842ed2a70f8f0c" - url: "https://pub.dev" - source: hosted - version: "4.0.0" - flutter_test: - dependency: "direct dev" - description: flutter - source: sdk - version: "0.0.0" - jni: - dependency: transitive - description: - name: jni - sha256: "85cf3fbc8ce837e09b4cfe59d688c0249a5b9f4cc9a9a5be38e2823f218988a8" - url: "https://pub.dev" - source: hosted - version: "0.9.3" - leak_tracker: - dependency: transitive - description: - name: leak_tracker - sha256: "3f87a60e8c63aecc975dda1ceedbc8f24de75f09e4856ea27daf8958f2f0ce05" - url: "https://pub.dev" - source: hosted - version: "10.0.5" - leak_tracker_flutter_testing: - dependency: transitive - description: - name: leak_tracker_flutter_testing - sha256: "932549fb305594d82d7183ecd9fa93463e9914e1b67cacc34bc40906594a1806" - url: "https://pub.dev" - source: hosted - version: "3.0.5" - leak_tracker_testing: - dependency: transitive - description: - name: leak_tracker_testing - sha256: "6ba465d5d76e67ddf503e1161d1f4a6bc42306f9d66ca1e8f079a47290fb06d3" - url: "https://pub.dev" - source: hosted - version: "3.0.1" - lints: - dependency: transitive - description: - name: lints - sha256: "976c774dd944a42e83e2467f4cc670daef7eed6295b10b36ae8c85bcbf828235" - url: "https://pub.dev" - source: hosted - version: "4.0.0" - logging: - dependency: "direct main" - description: - name: logging - sha256: "623a88c9594aa774443aa3eb2d41807a48486b5613e67599fb4c41c0ad47c340" - url: "https://pub.dev" - source: hosted - version: "1.2.0" - matcher: - dependency: transitive - description: - name: matcher - sha256: d2323aa2060500f906aa31a895b4030b6da3ebdcc5619d14ce1aada65cd161cb - url: "https://pub.dev" - source: hosted - version: "0.12.16+1" - material_color_utilities: - dependency: transitive - description: - name: material_color_utilities - sha256: f7142bb1154231d7ea5f96bc7bde4bda2a0945d2806bb11670e30b850d56bdec - url: "https://pub.dev" - source: hosted - version: "0.11.1" - meta: - dependency: transitive - description: - name: meta - sha256: bdb68674043280c3428e9ec998512fb681678676b3c54e773629ffe74419f8c7 - url: "https://pub.dev" - source: hosted - version: "1.15.0" - native_authentication_flutter: - dependency: "direct main" - description: - path: ".." - relative: true - source: path - version: "0.0.1" - objective_c: - dependency: transitive - description: - name: objective_c - sha256: "77c341fce45bb3865a7bc3ddee4201605799e3de2f7af200e8dae26369d210ea" - url: "https://pub.dev" - source: hosted - version: "1.1.0" - package_config: - dependency: transitive - description: - name: package_config - sha256: "1c5b77ccc91e4823a5af61ee74e6b972db1ef98c2ff5a18d3161c982a55448bd" - url: "https://pub.dev" - source: hosted - version: "2.1.0" - path: - dependency: transitive - description: - name: path - sha256: "087ce49c3f0dc39180befefc60fdb4acd8f8620e5682fe2476afd0b3688bb4af" - url: "https://pub.dev" - source: hosted - version: "1.9.0" - plugin_platform_interface: - dependency: transitive - description: - name: plugin_platform_interface - sha256: "4820fbfdb9478b1ebae27888254d445073732dae3d6ea81f0b7e06d5dedc3f02" - url: "https://pub.dev" - source: hosted - version: "2.1.8" - sky_engine: - dependency: transitive - description: flutter - source: sdk - version: "0.0.99" - source_span: - dependency: transitive - description: - name: source_span - sha256: "53e943d4206a5e30df338fd4c6e7a077e02254531b138a15aec3bd143c1a8b3c" - url: "https://pub.dev" - source: hosted - version: "1.10.0" - stack_trace: - dependency: transitive - description: - name: stack_trace - sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b" - url: "https://pub.dev" - source: hosted - version: "1.11.1" - stream_channel: - dependency: transitive - description: - name: stream_channel - sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7 - url: "https://pub.dev" - source: hosted - version: "2.1.2" - stream_transform: - dependency: transitive - description: - name: stream_transform - sha256: "14a00e794c7c11aa145a170587321aedce29769c08d7f58b1d141da75e3b1c6f" - url: "https://pub.dev" - source: hosted - version: "2.1.0" - string_scanner: - dependency: transitive - description: - name: string_scanner - sha256: "556692adab6cfa87322a115640c11f13cb77b3f076ddcc5d6ae3c20242bedcde" - url: "https://pub.dev" - source: hosted - version: "1.2.0" - term_glyph: - dependency: transitive - description: - name: term_glyph - sha256: a29248a84fbb7c79282b40b8c72a1209db169a2e0542bce341da992fe1bc7e84 - url: "https://pub.dev" - source: hosted - version: "1.2.1" - test_api: - dependency: transitive - description: - name: test_api - sha256: "5b8a98dafc4d5c4c9c72d8b31ab2b23fc13422348d2997120294d3bac86b4ddb" - url: "https://pub.dev" - source: hosted - version: "0.7.2" - vector_math: - dependency: transitive - description: - name: vector_math - sha256: "80b3257d1492ce4d091729e3a67a60407d227c27241d6927be0130c98e741803" - url: "https://pub.dev" - source: hosted - version: "2.1.4" - vm_service: - dependency: transitive - description: - name: vm_service - sha256: "5c5f338a667b4c644744b661f309fb8080bb94b18a7e91ef1dbd343bed00ed6d" - url: "https://pub.dev" - source: hosted - version: "14.2.5" - web: - dependency: "direct overridden" - description: - name: web - sha256: d43c1d6b787bf0afad444700ae7f4db8827f701bc61c255ac8d328c6f4d52062 - url: "https://pub.dev" - source: hosted - version: "1.0.0" - yaml: - dependency: transitive - description: - name: yaml - sha256: "75769501ea3489fca56601ff33454fe45507ea3bfb014161abc3b43ae25989d5" - url: "https://pub.dev" - source: hosted - version: "3.1.2" -sdks: - dart: ">=3.3.0 <4.0.0" - flutter: ">=3.19.0"