diff --git a/pushengage-flutter-sdk/.gitignore b/.gitignore similarity index 100% rename from pushengage-flutter-sdk/.gitignore rename to .gitignore diff --git a/pushengage-flutter-sdk/.metadata b/.metadata similarity index 100% rename from pushengage-flutter-sdk/.metadata rename to .metadata diff --git a/pushengage-flutter-sdk/CHANGELOG.md b/CHANGELOG.md similarity index 100% rename from pushengage-flutter-sdk/CHANGELOG.md rename to CHANGELOG.md diff --git a/pushengage-flutter-sdk/CONTRIBUTING.md b/CONTRIBUTING.md similarity index 100% rename from pushengage-flutter-sdk/CONTRIBUTING.md rename to CONTRIBUTING.md diff --git a/pushengage-flutter-sdk/LICENSE b/LICENSE similarity index 100% rename from pushengage-flutter-sdk/LICENSE rename to LICENSE diff --git a/README.md b/README.md index df65145..3ad42a1 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,24 @@ -# pushengage-flutter-sdk -This a public repository containing the PushEngage Flutter SDK. +

+ +

+ +# PushEngage Flutter SDK + +The PushEngage Flutter SDK simplifies the integration of push notifications into your Flutter apps, supporting both Android and iOS platforms. + +## Introduction +PushEngage SDK enables seamless push notifications for your Flutter applications, enhancing user engagement on Android and iOS. + +## Prerequisites +Before setup, ensure you have: +- A Flutter project. +- [PushEngage account](https://www.pushengage.com) +- Firebase project for Android. +- Apple Developer account for APN services. + +## Getting started guide +Please follow the instructions as mentioned in the [Getting Started Guide](https://www.pushengage.com/documentation/setting-up-app-push-notification-in-flutter-using-pushengage/) + +## Flutter Plugin Public APIs +Please follow the instructions as mentioned in the [PushEngage Flutter Public APIs](https://pushengage.com/api/mobile-sdk/flutter-sdk) + diff --git a/pushengage-flutter-sdk/analysis_options.yaml b/analysis_options.yaml similarity index 100% rename from pushengage-flutter-sdk/analysis_options.yaml rename to analysis_options.yaml diff --git a/pushengage-flutter-sdk/android/.gitignore b/android/.gitignore similarity index 100% rename from pushengage-flutter-sdk/android/.gitignore rename to android/.gitignore diff --git a/pushengage-flutter-sdk/android/build.gradle b/android/build.gradle similarity index 100% rename from pushengage-flutter-sdk/android/build.gradle rename to android/build.gradle diff --git a/pushengage-flutter-sdk/android/settings.gradle b/android/settings.gradle similarity index 100% rename from pushengage-flutter-sdk/android/settings.gradle rename to android/settings.gradle diff --git a/pushengage-flutter-sdk/android/src/main/AndroidManifest.xml b/android/src/main/AndroidManifest.xml similarity index 100% rename from pushengage-flutter-sdk/android/src/main/AndroidManifest.xml rename to android/src/main/AndroidManifest.xml diff --git a/pushengage-flutter-sdk/android/src/main/kotlin/com/pushengage/pushengage_flutter_sdk/PushengageFlutterSdkPlugin.kt b/android/src/main/kotlin/com/pushengage/pushengage_flutter_sdk/PushengageFlutterSdkPlugin.kt similarity index 100% rename from pushengage-flutter-sdk/android/src/main/kotlin/com/pushengage/pushengage_flutter_sdk/PushengageFlutterSdkPlugin.kt rename to android/src/main/kotlin/com/pushengage/pushengage_flutter_sdk/PushengageFlutterSdkPlugin.kt diff --git a/pushengage-flutter-sdk/example/.gitignore b/example/.gitignore similarity index 100% rename from pushengage-flutter-sdk/example/.gitignore rename to example/.gitignore diff --git a/pushengage-flutter-sdk/example/README.md b/example/README.md similarity index 100% rename from pushengage-flutter-sdk/example/README.md rename to example/README.md diff --git a/pushengage-flutter-sdk/example/analysis_options.yaml b/example/analysis_options.yaml similarity index 100% rename from pushengage-flutter-sdk/example/analysis_options.yaml rename to example/analysis_options.yaml diff --git a/pushengage-flutter-sdk/example/android/.gitignore b/example/android/.gitignore similarity index 100% rename from pushengage-flutter-sdk/example/android/.gitignore rename to example/android/.gitignore diff --git a/pushengage-flutter-sdk/example/android/app/build.gradle b/example/android/app/build.gradle similarity index 100% rename from pushengage-flutter-sdk/example/android/app/build.gradle rename to example/android/app/build.gradle diff --git a/pushengage-flutter-sdk/example/android/app/src/debug/AndroidManifest.xml b/example/android/app/src/debug/AndroidManifest.xml similarity index 100% rename from pushengage-flutter-sdk/example/android/app/src/debug/AndroidManifest.xml rename to example/android/app/src/debug/AndroidManifest.xml diff --git a/pushengage-flutter-sdk/example/android/app/src/main/AndroidManifest.xml b/example/android/app/src/main/AndroidManifest.xml similarity index 100% rename from pushengage-flutter-sdk/example/android/app/src/main/AndroidManifest.xml rename to example/android/app/src/main/AndroidManifest.xml diff --git a/pushengage-flutter-sdk/example/android/app/src/main/kotlin/com/example/pushengage_flutter_sdk_example/MainActivity.kt b/example/android/app/src/main/kotlin/com/example/pushengage_flutter_sdk_example/MainActivity.kt similarity index 100% rename from pushengage-flutter-sdk/example/android/app/src/main/kotlin/com/example/pushengage_flutter_sdk_example/MainActivity.kt rename to example/android/app/src/main/kotlin/com/example/pushengage_flutter_sdk_example/MainActivity.kt diff --git a/pushengage-flutter-sdk/example/android/app/src/main/res/drawable-v21/launch_background.xml b/example/android/app/src/main/res/drawable-v21/launch_background.xml similarity index 100% rename from pushengage-flutter-sdk/example/android/app/src/main/res/drawable-v21/launch_background.xml rename to example/android/app/src/main/res/drawable-v21/launch_background.xml diff --git a/pushengage-flutter-sdk/example/android/app/src/main/res/drawable/launch_background.xml b/example/android/app/src/main/res/drawable/launch_background.xml similarity index 100% rename from pushengage-flutter-sdk/example/android/app/src/main/res/drawable/launch_background.xml rename to example/android/app/src/main/res/drawable/launch_background.xml diff --git a/pushengage-flutter-sdk/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png b/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png similarity index 100% rename from pushengage-flutter-sdk/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png rename to example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png diff --git a/pushengage-flutter-sdk/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png b/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png similarity index 100% rename from pushengage-flutter-sdk/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png rename to example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png diff --git a/pushengage-flutter-sdk/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png similarity index 100% rename from pushengage-flutter-sdk/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png rename to example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png diff --git a/pushengage-flutter-sdk/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png similarity index 100% rename from pushengage-flutter-sdk/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png rename to example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png diff --git a/pushengage-flutter-sdk/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png similarity index 100% rename from pushengage-flutter-sdk/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png rename to example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png diff --git a/pushengage-flutter-sdk/example/android/app/src/main/res/values-night/styles.xml b/example/android/app/src/main/res/values-night/styles.xml similarity index 100% rename from pushengage-flutter-sdk/example/android/app/src/main/res/values-night/styles.xml rename to example/android/app/src/main/res/values-night/styles.xml diff --git a/pushengage-flutter-sdk/example/android/app/src/main/res/values/styles.xml b/example/android/app/src/main/res/values/styles.xml similarity index 100% rename from pushengage-flutter-sdk/example/android/app/src/main/res/values/styles.xml rename to example/android/app/src/main/res/values/styles.xml diff --git a/pushengage-flutter-sdk/example/android/app/src/profile/AndroidManifest.xml b/example/android/app/src/profile/AndroidManifest.xml similarity index 100% rename from pushengage-flutter-sdk/example/android/app/src/profile/AndroidManifest.xml rename to example/android/app/src/profile/AndroidManifest.xml diff --git a/pushengage-flutter-sdk/example/android/build.gradle b/example/android/build.gradle similarity index 100% rename from pushengage-flutter-sdk/example/android/build.gradle rename to example/android/build.gradle diff --git a/pushengage-flutter-sdk/example/android/gradle.properties b/example/android/gradle.properties similarity index 100% rename from pushengage-flutter-sdk/example/android/gradle.properties rename to example/android/gradle.properties diff --git a/pushengage-flutter-sdk/example/android/settings.gradle b/example/android/settings.gradle similarity index 100% rename from pushengage-flutter-sdk/example/android/settings.gradle rename to example/android/settings.gradle diff --git a/pushengage-flutter-sdk/example/ios/.gitignore b/example/ios/.gitignore similarity index 100% rename from pushengage-flutter-sdk/example/ios/.gitignore rename to example/ios/.gitignore diff --git a/pushengage-flutter-sdk/example/ios/Flutter/AppFrameworkInfo.plist b/example/ios/Flutter/AppFrameworkInfo.plist similarity index 100% rename from pushengage-flutter-sdk/example/ios/Flutter/AppFrameworkInfo.plist rename to example/ios/Flutter/AppFrameworkInfo.plist diff --git a/pushengage-flutter-sdk/example/ios/Flutter/Debug.xcconfig b/example/ios/Flutter/Debug.xcconfig similarity index 100% rename from pushengage-flutter-sdk/example/ios/Flutter/Debug.xcconfig rename to example/ios/Flutter/Debug.xcconfig diff --git a/pushengage-flutter-sdk/example/ios/Flutter/Release.xcconfig b/example/ios/Flutter/Release.xcconfig similarity index 100% rename from pushengage-flutter-sdk/example/ios/Flutter/Release.xcconfig rename to example/ios/Flutter/Release.xcconfig diff --git a/pushengage-flutter-sdk/example/ios/NotificationContentExtension/Base.lproj/MainInterface.storyboard b/example/ios/NotificationContentExtension/Base.lproj/MainInterface.storyboard similarity index 100% rename from pushengage-flutter-sdk/example/ios/NotificationContentExtension/Base.lproj/MainInterface.storyboard rename to example/ios/NotificationContentExtension/Base.lproj/MainInterface.storyboard diff --git a/pushengage-flutter-sdk/example/ios/NotificationContentExtension/ContentView.swift b/example/ios/NotificationContentExtension/ContentView.swift similarity index 100% rename from pushengage-flutter-sdk/example/ios/NotificationContentExtension/ContentView.swift rename to example/ios/NotificationContentExtension/ContentView.swift diff --git a/pushengage-flutter-sdk/example/ios/NotificationContentExtension/Info.plist b/example/ios/NotificationContentExtension/Info.plist similarity index 100% rename from pushengage-flutter-sdk/example/ios/NotificationContentExtension/Info.plist rename to example/ios/NotificationContentExtension/Info.plist diff --git a/pushengage-flutter-sdk/example/ios/NotificationContentExtension/NotificationViewController.swift b/example/ios/NotificationContentExtension/NotificationViewController.swift similarity index 100% rename from pushengage-flutter-sdk/example/ios/NotificationContentExtension/NotificationViewController.swift rename to example/ios/NotificationContentExtension/NotificationViewController.swift diff --git a/pushengage-flutter-sdk/example/ios/NotificationServiceExtension/Info.plist b/example/ios/NotificationServiceExtension/Info.plist similarity index 100% rename from pushengage-flutter-sdk/example/ios/NotificationServiceExtension/Info.plist rename to example/ios/NotificationServiceExtension/Info.plist diff --git a/pushengage-flutter-sdk/example/ios/NotificationServiceExtension/NotificationService.swift b/example/ios/NotificationServiceExtension/NotificationService.swift similarity index 100% rename from pushengage-flutter-sdk/example/ios/NotificationServiceExtension/NotificationService.swift rename to example/ios/NotificationServiceExtension/NotificationService.swift diff --git a/pushengage-flutter-sdk/example/ios/NotificationServiceExtension/NotificationServiceExtension.entitlements b/example/ios/NotificationServiceExtension/NotificationServiceExtension.entitlements similarity index 100% rename from pushengage-flutter-sdk/example/ios/NotificationServiceExtension/NotificationServiceExtension.entitlements rename to example/ios/NotificationServiceExtension/NotificationServiceExtension.entitlements diff --git a/pushengage-flutter-sdk/example/ios/Podfile b/example/ios/Podfile similarity index 100% rename from pushengage-flutter-sdk/example/ios/Podfile rename to example/ios/Podfile diff --git a/pushengage-flutter-sdk/example/ios/Podfile.lock b/example/ios/Podfile.lock similarity index 100% rename from pushengage-flutter-sdk/example/ios/Podfile.lock rename to example/ios/Podfile.lock diff --git a/pushengage-flutter-sdk/example/ios/PushEngageNotificationServiceExtension/Info.plist b/example/ios/PushEngageNotificationServiceExtension/Info.plist similarity index 100% rename from pushengage-flutter-sdk/example/ios/PushEngageNotificationServiceExtension/Info.plist rename to example/ios/PushEngageNotificationServiceExtension/Info.plist diff --git a/pushengage-flutter-sdk/example/ios/PushEngageNotificationServiceExtension/NotificationService.swift b/example/ios/PushEngageNotificationServiceExtension/NotificationService.swift similarity index 100% rename from pushengage-flutter-sdk/example/ios/PushEngageNotificationServiceExtension/NotificationService.swift rename to example/ios/PushEngageNotificationServiceExtension/NotificationService.swift diff --git a/pushengage-flutter-sdk/example/ios/Runner.xcodeproj/project.pbxproj b/example/ios/Runner.xcodeproj/project.pbxproj similarity index 100% rename from pushengage-flutter-sdk/example/ios/Runner.xcodeproj/project.pbxproj rename to example/ios/Runner.xcodeproj/project.pbxproj diff --git a/pushengage-flutter-sdk/example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata similarity index 100% rename from pushengage-flutter-sdk/example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata rename to example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata diff --git a/pushengage-flutter-sdk/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist similarity index 100% rename from pushengage-flutter-sdk/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist rename to example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist diff --git a/pushengage-flutter-sdk/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings similarity index 100% rename from pushengage-flutter-sdk/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings rename to example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings diff --git a/pushengage-flutter-sdk/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/NotificationServiceExtension.xcscheme b/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/NotificationServiceExtension.xcscheme similarity index 100% rename from pushengage-flutter-sdk/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/NotificationServiceExtension.xcscheme rename to example/ios/Runner.xcodeproj/xcshareddata/xcschemes/NotificationServiceExtension.xcscheme diff --git a/pushengage-flutter-sdk/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme similarity index 100% rename from pushengage-flutter-sdk/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme rename to example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme diff --git a/pushengage-flutter-sdk/example/ios/Runner.xcworkspace/contents.xcworkspacedata b/example/ios/Runner.xcworkspace/contents.xcworkspacedata similarity index 100% rename from pushengage-flutter-sdk/example/ios/Runner.xcworkspace/contents.xcworkspacedata rename to example/ios/Runner.xcworkspace/contents.xcworkspacedata diff --git a/pushengage-flutter-sdk/example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist similarity index 100% rename from pushengage-flutter-sdk/example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist rename to example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist diff --git a/pushengage-flutter-sdk/example/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/example/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings similarity index 100% rename from pushengage-flutter-sdk/example/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings rename to example/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings diff --git a/pushengage-flutter-sdk/example/ios/Runner/AppDelegate.swift b/example/ios/Runner/AppDelegate.swift similarity index 100% rename from pushengage-flutter-sdk/example/ios/Runner/AppDelegate.swift rename to example/ios/Runner/AppDelegate.swift diff --git a/pushengage-flutter-sdk/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json b/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json similarity index 100% rename from pushengage-flutter-sdk/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json rename to example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json diff --git a/pushengage-flutter-sdk/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/pe_icon.png b/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/pe_icon.png similarity index 100% rename from pushengage-flutter-sdk/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/pe_icon.png rename to example/ios/Runner/Assets.xcassets/AppIcon.appiconset/pe_icon.png diff --git a/pushengage-flutter-sdk/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json b/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json similarity index 100% rename from pushengage-flutter-sdk/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json rename to example/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json diff --git a/pushengage-flutter-sdk/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png b/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png similarity index 100% rename from pushengage-flutter-sdk/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png rename to example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png diff --git a/pushengage-flutter-sdk/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png b/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png similarity index 100% rename from pushengage-flutter-sdk/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png rename to example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png diff --git a/pushengage-flutter-sdk/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png b/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png similarity index 100% rename from pushengage-flutter-sdk/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png rename to example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png diff --git a/pushengage-flutter-sdk/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md b/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md similarity index 100% rename from pushengage-flutter-sdk/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md rename to example/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md diff --git a/pushengage-flutter-sdk/example/ios/Runner/Base.lproj/LaunchScreen.storyboard b/example/ios/Runner/Base.lproj/LaunchScreen.storyboard similarity index 100% rename from pushengage-flutter-sdk/example/ios/Runner/Base.lproj/LaunchScreen.storyboard rename to example/ios/Runner/Base.lproj/LaunchScreen.storyboard diff --git a/pushengage-flutter-sdk/example/ios/Runner/Base.lproj/Main.storyboard b/example/ios/Runner/Base.lproj/Main.storyboard similarity index 100% rename from pushengage-flutter-sdk/example/ios/Runner/Base.lproj/Main.storyboard rename to example/ios/Runner/Base.lproj/Main.storyboard diff --git a/pushengage-flutter-sdk/example/ios/Runner/Info.plist b/example/ios/Runner/Info.plist similarity index 100% rename from pushengage-flutter-sdk/example/ios/Runner/Info.plist rename to example/ios/Runner/Info.plist diff --git a/pushengage-flutter-sdk/example/ios/Runner/Runner-Bridging-Header.h b/example/ios/Runner/Runner-Bridging-Header.h similarity index 100% rename from pushengage-flutter-sdk/example/ios/Runner/Runner-Bridging-Header.h rename to example/ios/Runner/Runner-Bridging-Header.h diff --git a/pushengage-flutter-sdk/example/ios/Runner/Runner.entitlements b/example/ios/Runner/Runner.entitlements similarity index 100% rename from pushengage-flutter-sdk/example/ios/Runner/Runner.entitlements rename to example/ios/Runner/Runner.entitlements diff --git a/pushengage-flutter-sdk/example/ios/RunnerTests/RunnerTests.swift b/example/ios/RunnerTests/RunnerTests.swift similarity index 100% rename from pushengage-flutter-sdk/example/ios/RunnerTests/RunnerTests.swift rename to example/ios/RunnerTests/RunnerTests.swift diff --git a/pushengage-flutter-sdk/example/lib/alert_entry.dart b/example/lib/alert_entry.dart similarity index 100% rename from pushengage-flutter-sdk/example/lib/alert_entry.dart rename to example/lib/alert_entry.dart diff --git a/pushengage-flutter-sdk/example/lib/goal.dart b/example/lib/goal.dart similarity index 100% rename from pushengage-flutter-sdk/example/lib/goal.dart rename to example/lib/goal.dart diff --git a/pushengage-flutter-sdk/example/lib/home.dart b/example/lib/home.dart similarity index 100% rename from pushengage-flutter-sdk/example/lib/home.dart rename to example/lib/home.dart diff --git a/pushengage-flutter-sdk/example/lib/main.dart b/example/lib/main.dart similarity index 100% rename from pushengage-flutter-sdk/example/lib/main.dart rename to example/lib/main.dart diff --git a/pushengage-flutter-sdk/example/lib/trigger_entry.dart b/example/lib/trigger_entry.dart similarity index 100% rename from pushengage-flutter-sdk/example/lib/trigger_entry.dart rename to example/lib/trigger_entry.dart diff --git a/pushengage-flutter-sdk/example/lib/trigger_listing.dart b/example/lib/trigger_listing.dart similarity index 100% rename from pushengage-flutter-sdk/example/lib/trigger_listing.dart rename to example/lib/trigger_listing.dart diff --git a/pushengage-flutter-sdk/example/pubspec.lock b/example/pubspec.lock similarity index 100% rename from pushengage-flutter-sdk/example/pubspec.lock rename to example/pubspec.lock diff --git a/pushengage-flutter-sdk/example/pubspec.yaml b/example/pubspec.yaml similarity index 100% rename from pushengage-flutter-sdk/example/pubspec.yaml rename to example/pubspec.yaml diff --git a/pushengage-flutter-sdk/example/test/widget_test.dart b/example/test/widget_test.dart similarity index 100% rename from pushengage-flutter-sdk/example/test/widget_test.dart rename to example/test/widget_test.dart diff --git a/pushengage-flutter-sdk/ios/.gitignore b/ios/.gitignore similarity index 100% rename from pushengage-flutter-sdk/ios/.gitignore rename to ios/.gitignore diff --git a/pushengage-flutter-sdk/ios/Assets/.gitkeep b/ios/Assets/.gitkeep similarity index 100% rename from pushengage-flutter-sdk/ios/Assets/.gitkeep rename to ios/Assets/.gitkeep diff --git a/pushengage-flutter-sdk/ios/Classes/PushEngageFlutterSdkPlugin.swift b/ios/Classes/PushEngageFlutterSdkPlugin.swift similarity index 100% rename from pushengage-flutter-sdk/ios/Classes/PushEngageFlutterSdkPlugin.swift rename to ios/Classes/PushEngageFlutterSdkPlugin.swift diff --git a/pushengage-flutter-sdk/ios/pushengage_flutter_sdk.podspec b/ios/pushengage_flutter_sdk.podspec similarity index 100% rename from pushengage-flutter-sdk/ios/pushengage_flutter_sdk.podspec rename to ios/pushengage_flutter_sdk.podspec diff --git a/pushengage-flutter-sdk/lib/helper/logger.dart b/lib/helper/logger.dart similarity index 100% rename from pushengage-flutter-sdk/lib/helper/logger.dart rename to lib/helper/logger.dart diff --git a/pushengage-flutter-sdk/lib/helper/pushengage_result.dart b/lib/helper/pushengage_result.dart similarity index 100% rename from pushengage-flutter-sdk/lib/helper/pushengage_result.dart rename to lib/helper/pushengage_result.dart diff --git a/pushengage-flutter-sdk/lib/interface/mappable.dart b/lib/interface/mappable.dart similarity index 100% rename from pushengage-flutter-sdk/lib/interface/mappable.dart rename to lib/interface/mappable.dart diff --git a/pushengage-flutter-sdk/lib/model/DynamicSegment.dart b/lib/model/DynamicSegment.dart similarity index 100% rename from pushengage-flutter-sdk/lib/model/DynamicSegment.dart rename to lib/model/DynamicSegment.dart diff --git a/pushengage-flutter-sdk/lib/model/goal.dart b/lib/model/goal.dart similarity index 100% rename from pushengage-flutter-sdk/lib/model/goal.dart rename to lib/model/goal.dart diff --git a/pushengage-flutter-sdk/lib/model/trigger_alert.dart b/lib/model/trigger_alert.dart similarity index 100% rename from pushengage-flutter-sdk/lib/model/trigger_alert.dart rename to lib/model/trigger_alert.dart diff --git a/pushengage-flutter-sdk/lib/model/trigger_campaign.dart b/lib/model/trigger_campaign.dart similarity index 100% rename from pushengage-flutter-sdk/lib/model/trigger_campaign.dart rename to lib/model/trigger_campaign.dart diff --git a/pushengage-flutter-sdk/lib/pushengage_flutter_sdk.dart b/lib/pushengage_flutter_sdk.dart similarity index 100% rename from pushengage-flutter-sdk/lib/pushengage_flutter_sdk.dart rename to lib/pushengage_flutter_sdk.dart diff --git a/pushengage-flutter-sdk/lib/pushengage_flutter_sdk_method_channel.dart b/lib/pushengage_flutter_sdk_method_channel.dart similarity index 100% rename from pushengage-flutter-sdk/lib/pushengage_flutter_sdk_method_channel.dart rename to lib/pushengage_flutter_sdk_method_channel.dart diff --git a/pushengage-flutter-sdk/lib/pushengage_flutter_sdk_platform_interface.dart b/lib/pushengage_flutter_sdk_platform_interface.dart similarity index 100% rename from pushengage-flutter-sdk/lib/pushengage_flutter_sdk_platform_interface.dart rename to lib/pushengage_flutter_sdk_platform_interface.dart diff --git a/pushengage-flutter-sdk/pubspec.yaml b/pubspec.yaml similarity index 100% rename from pushengage-flutter-sdk/pubspec.yaml rename to pubspec.yaml diff --git a/pushengage-flutter-sdk/README.md b/pushengage-flutter-sdk/README.md deleted file mode 100644 index 3ad42a1..0000000 --- a/pushengage-flutter-sdk/README.md +++ /dev/null @@ -1,24 +0,0 @@ -

- -

- -# PushEngage Flutter SDK - -The PushEngage Flutter SDK simplifies the integration of push notifications into your Flutter apps, supporting both Android and iOS platforms. - -## Introduction -PushEngage SDK enables seamless push notifications for your Flutter applications, enhancing user engagement on Android and iOS. - -## Prerequisites -Before setup, ensure you have: -- A Flutter project. -- [PushEngage account](https://www.pushengage.com) -- Firebase project for Android. -- Apple Developer account for APN services. - -## Getting started guide -Please follow the instructions as mentioned in the [Getting Started Guide](https://www.pushengage.com/documentation/setting-up-app-push-notification-in-flutter-using-pushengage/) - -## Flutter Plugin Public APIs -Please follow the instructions as mentioned in the [PushEngage Flutter Public APIs](https://pushengage.com/api/mobile-sdk/flutter-sdk) - diff --git a/pushengage-flutter-sdk/setup.md b/setup.md similarity index 100% rename from pushengage-flutter-sdk/setup.md rename to setup.md