From b71c8e11490fb87fb2e2def02c411df308c24923 Mon Sep 17 00:00:00 2001 From: Himshikhar Gayan Date: Tue, 31 Dec 2024 13:59:50 +0530 Subject: [PATCH] release v0.0.1 --- .../.gitignore => .gitignore | 0 pushengage-flutter-sdk/.metadata => .metadata | 0 .../CHANGELOG.md => CHANGELOG.md | 0 .../CONTRIBUTING.md => CONTRIBUTING.md | 0 pushengage-flutter-sdk/LICENSE => LICENSE | 0 README.md | 26 ++++++++++++++++-- ...ysis_options.yaml => analysis_options.yaml | 0 .../android => android}/.gitignore | 0 .../android => android}/build.gradle | 0 .../android => android}/settings.gradle | 0 .../src/main/AndroidManifest.xml | 0 .../PushengageFlutterSdkPlugin.kt | 0 .../example => example}/.gitignore | 0 .../example => example}/README.md | 0 .../example => example}/analysis_options.yaml | 0 .../example => example}/android/.gitignore | 0 .../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 => example}/android/build.gradle | 0 .../android/gradle.properties | 0 .../android/settings.gradle | 0 .../example => example}/ios/.gitignore | 0 .../ios/Flutter/AppFrameworkInfo.plist | 0 .../ios/Flutter/Debug.xcconfig | 0 .../ios/Flutter/Release.xcconfig | 0 .../Base.lproj/MainInterface.storyboard | 0 .../ContentView.swift | 0 .../NotificationContentExtension/Info.plist | 0 .../NotificationViewController.swift | 0 .../NotificationServiceExtension/Info.plist | 0 .../NotificationService.swift | 0 .../NotificationServiceExtension.entitlements | 0 .../example => example}/ios/Podfile | 0 .../example => example}/ios/Podfile.lock | 0 .../Info.plist | 0 .../NotificationService.swift | 0 .../ios/Runner.xcodeproj/project.pbxproj | 0 .../contents.xcworkspacedata | 0 .../xcshareddata/IDEWorkspaceChecks.plist | 0 .../xcshareddata/WorkspaceSettings.xcsettings | 0 .../NotificationServiceExtension.xcscheme | 0 .../xcshareddata/xcschemes/Runner.xcscheme | 0 .../contents.xcworkspacedata | 0 .../xcshareddata/IDEWorkspaceChecks.plist | 0 .../xcshareddata/WorkspaceSettings.xcsettings | 0 .../ios/Runner/AppDelegate.swift | 0 .../AppIcon.appiconset/Contents.json | 0 .../AppIcon.appiconset/pe_icon.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 => example}/ios/Runner/Info.plist | 0 .../ios/Runner/Runner-Bridging-Header.h | 0 .../ios/Runner/Runner.entitlements | 0 .../ios/RunnerTests/RunnerTests.swift | 0 .../example => example}/lib/alert_entry.dart | 0 .../example => example}/lib/goal.dart | 0 .../example => example}/lib/home.dart | 0 .../example => example}/lib/main.dart | 0 .../lib/trigger_entry.dart | 0 .../lib/trigger_listing.dart | 0 .../example => example}/pubspec.lock | 0 .../example => example}/pubspec.yaml | 0 .../example => example}/test/widget_test.dart | 0 .../ios => ios}/.gitignore | 0 .../ios => ios}/Assets/.gitkeep | 0 .../Classes/PushEngageFlutterSdkPlugin.swift | 0 .../pushengage_flutter_sdk.podspec | 0 .../lib => lib}/helper/logger.dart | 0 .../lib => lib}/helper/pushengage_result.dart | 0 .../lib => lib}/interface/mappable.dart | 0 .../lib => lib}/model/DynamicSegment.dart | 0 .../lib => lib}/model/goal.dart | 0 .../lib => lib}/model/trigger_alert.dart | 0 .../lib => lib}/model/trigger_campaign.dart | 0 .../lib => lib}/pushengage_flutter_sdk.dart | 0 ...pushengage_flutter_sdk_method_channel.dart | 0 ...engage_flutter_sdk_platform_interface.dart | 0 .../pubspec.yaml => pubspec.yaml | 0 pushengage-flutter-sdk/README.md | 24 ---------------- pushengage-flutter-sdk/setup.md => setup.md | 0 97 files changed, 24 insertions(+), 26 deletions(-) rename pushengage-flutter-sdk/.gitignore => .gitignore (100%) rename pushengage-flutter-sdk/.metadata => .metadata (100%) rename pushengage-flutter-sdk/CHANGELOG.md => CHANGELOG.md (100%) rename pushengage-flutter-sdk/CONTRIBUTING.md => CONTRIBUTING.md (100%) rename pushengage-flutter-sdk/LICENSE => LICENSE (100%) rename pushengage-flutter-sdk/analysis_options.yaml => analysis_options.yaml (100%) rename {pushengage-flutter-sdk/android => android}/.gitignore (100%) rename {pushengage-flutter-sdk/android => android}/build.gradle (100%) rename {pushengage-flutter-sdk/android => android}/settings.gradle (100%) rename {pushengage-flutter-sdk/android => android}/src/main/AndroidManifest.xml (100%) rename {pushengage-flutter-sdk/android => android}/src/main/kotlin/com/pushengage/pushengage_flutter_sdk/PushengageFlutterSdkPlugin.kt (100%) rename {pushengage-flutter-sdk/example => example}/.gitignore (100%) rename {pushengage-flutter-sdk/example => example}/README.md (100%) rename {pushengage-flutter-sdk/example => example}/analysis_options.yaml (100%) rename {pushengage-flutter-sdk/example => example}/android/.gitignore (100%) rename {pushengage-flutter-sdk/example => example}/android/app/build.gradle (100%) rename {pushengage-flutter-sdk/example => example}/android/app/src/debug/AndroidManifest.xml (100%) rename {pushengage-flutter-sdk/example => example}/android/app/src/main/AndroidManifest.xml (100%) rename {pushengage-flutter-sdk/example => example}/android/app/src/main/kotlin/com/example/pushengage_flutter_sdk_example/MainActivity.kt (100%) rename {pushengage-flutter-sdk/example => example}/android/app/src/main/res/drawable-v21/launch_background.xml (100%) rename {pushengage-flutter-sdk/example => example}/android/app/src/main/res/drawable/launch_background.xml (100%) rename {pushengage-flutter-sdk/example => example}/android/app/src/main/res/mipmap-hdpi/ic_launcher.png (100%) rename {pushengage-flutter-sdk/example => example}/android/app/src/main/res/mipmap-mdpi/ic_launcher.png (100%) rename {pushengage-flutter-sdk/example => example}/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png (100%) rename {pushengage-flutter-sdk/example => example}/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png (100%) rename {pushengage-flutter-sdk/example => example}/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png (100%) rename {pushengage-flutter-sdk/example => example}/android/app/src/main/res/values-night/styles.xml (100%) rename {pushengage-flutter-sdk/example => example}/android/app/src/main/res/values/styles.xml (100%) rename {pushengage-flutter-sdk/example => example}/android/app/src/profile/AndroidManifest.xml (100%) rename {pushengage-flutter-sdk/example => example}/android/build.gradle (100%) rename {pushengage-flutter-sdk/example => example}/android/gradle.properties (100%) rename {pushengage-flutter-sdk/example => example}/android/settings.gradle (100%) rename {pushengage-flutter-sdk/example => example}/ios/.gitignore (100%) rename {pushengage-flutter-sdk/example => example}/ios/Flutter/AppFrameworkInfo.plist (100%) rename {pushengage-flutter-sdk/example => example}/ios/Flutter/Debug.xcconfig (100%) rename {pushengage-flutter-sdk/example => example}/ios/Flutter/Release.xcconfig (100%) rename {pushengage-flutter-sdk/example => example}/ios/NotificationContentExtension/Base.lproj/MainInterface.storyboard (100%) rename {pushengage-flutter-sdk/example => example}/ios/NotificationContentExtension/ContentView.swift (100%) rename {pushengage-flutter-sdk/example => example}/ios/NotificationContentExtension/Info.plist (100%) rename {pushengage-flutter-sdk/example => example}/ios/NotificationContentExtension/NotificationViewController.swift (100%) rename {pushengage-flutter-sdk/example => example}/ios/NotificationServiceExtension/Info.plist (100%) rename {pushengage-flutter-sdk/example => example}/ios/NotificationServiceExtension/NotificationService.swift (100%) rename {pushengage-flutter-sdk/example => example}/ios/NotificationServiceExtension/NotificationServiceExtension.entitlements (100%) rename {pushengage-flutter-sdk/example => example}/ios/Podfile (100%) rename {pushengage-flutter-sdk/example => example}/ios/Podfile.lock (100%) rename {pushengage-flutter-sdk/example => example}/ios/PushEngageNotificationServiceExtension/Info.plist (100%) rename {pushengage-flutter-sdk/example => example}/ios/PushEngageNotificationServiceExtension/NotificationService.swift (100%) rename {pushengage-flutter-sdk/example => example}/ios/Runner.xcodeproj/project.pbxproj (100%) rename {pushengage-flutter-sdk/example => example}/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata (100%) rename {pushengage-flutter-sdk/example => example}/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist (100%) rename {pushengage-flutter-sdk/example => example}/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings (100%) rename {pushengage-flutter-sdk/example => example}/ios/Runner.xcodeproj/xcshareddata/xcschemes/NotificationServiceExtension.xcscheme (100%) rename {pushengage-flutter-sdk/example => example}/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme (100%) rename {pushengage-flutter-sdk/example => example}/ios/Runner.xcworkspace/contents.xcworkspacedata (100%) rename {pushengage-flutter-sdk/example => example}/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist (100%) rename {pushengage-flutter-sdk/example => example}/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings (100%) rename {pushengage-flutter-sdk/example => example}/ios/Runner/AppDelegate.swift (100%) rename {pushengage-flutter-sdk/example => example}/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json (100%) rename {pushengage-flutter-sdk/example => example}/ios/Runner/Assets.xcassets/AppIcon.appiconset/pe_icon.png (100%) rename {pushengage-flutter-sdk/example => example}/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json (100%) rename {pushengage-flutter-sdk/example => example}/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png (100%) rename {pushengage-flutter-sdk/example => example}/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png (100%) rename {pushengage-flutter-sdk/example => example}/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png (100%) rename {pushengage-flutter-sdk/example => example}/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md (100%) rename {pushengage-flutter-sdk/example => example}/ios/Runner/Base.lproj/LaunchScreen.storyboard (100%) rename {pushengage-flutter-sdk/example => example}/ios/Runner/Base.lproj/Main.storyboard (100%) rename {pushengage-flutter-sdk/example => example}/ios/Runner/Info.plist (100%) rename {pushengage-flutter-sdk/example => example}/ios/Runner/Runner-Bridging-Header.h (100%) rename {pushengage-flutter-sdk/example => example}/ios/Runner/Runner.entitlements (100%) rename {pushengage-flutter-sdk/example => example}/ios/RunnerTests/RunnerTests.swift (100%) rename {pushengage-flutter-sdk/example => example}/lib/alert_entry.dart (100%) rename {pushengage-flutter-sdk/example => example}/lib/goal.dart (100%) rename {pushengage-flutter-sdk/example => example}/lib/home.dart (100%) rename {pushengage-flutter-sdk/example => example}/lib/main.dart (100%) rename {pushengage-flutter-sdk/example => example}/lib/trigger_entry.dart (100%) rename {pushengage-flutter-sdk/example => example}/lib/trigger_listing.dart (100%) rename {pushengage-flutter-sdk/example => example}/pubspec.lock (100%) rename {pushengage-flutter-sdk/example => example}/pubspec.yaml (100%) rename {pushengage-flutter-sdk/example => example}/test/widget_test.dart (100%) rename {pushengage-flutter-sdk/ios => ios}/.gitignore (100%) rename {pushengage-flutter-sdk/ios => ios}/Assets/.gitkeep (100%) rename {pushengage-flutter-sdk/ios => ios}/Classes/PushEngageFlutterSdkPlugin.swift (100%) rename {pushengage-flutter-sdk/ios => ios}/pushengage_flutter_sdk.podspec (100%) rename {pushengage-flutter-sdk/lib => lib}/helper/logger.dart (100%) rename {pushengage-flutter-sdk/lib => lib}/helper/pushengage_result.dart (100%) rename {pushengage-flutter-sdk/lib => lib}/interface/mappable.dart (100%) rename {pushengage-flutter-sdk/lib => lib}/model/DynamicSegment.dart (100%) rename {pushengage-flutter-sdk/lib => lib}/model/goal.dart (100%) rename {pushengage-flutter-sdk/lib => lib}/model/trigger_alert.dart (100%) rename {pushengage-flutter-sdk/lib => lib}/model/trigger_campaign.dart (100%) rename {pushengage-flutter-sdk/lib => lib}/pushengage_flutter_sdk.dart (100%) rename {pushengage-flutter-sdk/lib => lib}/pushengage_flutter_sdk_method_channel.dart (100%) rename {pushengage-flutter-sdk/lib => lib}/pushengage_flutter_sdk_platform_interface.dart (100%) rename pushengage-flutter-sdk/pubspec.yaml => pubspec.yaml (100%) delete mode 100644 pushengage-flutter-sdk/README.md rename pushengage-flutter-sdk/setup.md => setup.md (100%) 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