diff --git a/CHANGELOG.md b/CHANGELOG.md index 78bc534..ef3dfcc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,4 +12,9 @@ Now we use: Initial release of library ## 0.0.4 -Initial release of library with Readme instructions \ No newline at end of file +Initial release of library with Readme instructions + +## 0.0.5 +Now we use: + - 0.0.31 for Android + - 0.0.9 for iOS. diff --git a/README.md b/README.md index d6502da..34d94b4 100644 --- a/README.md +++ b/README.md @@ -142,7 +142,7 @@ class NotificationService: PpgCoreNotificationServiceExtension { target 'NSE' do use_frameworks! use_modular_headers! - pod 'PpgCoreSDK', '~> 0.0.8' + pod 'PpgCoreSDK', '~> 0.0.9' end ``` 7. In `Info.plist` add folowing to enable deep linking in flutter @@ -311,7 +311,7 @@ Add minSdkVersion in defaultConfig for android: // build.gradle (:app) dependencies { ... - implementation "com.github.ppgco:ppg-core-android-sdk:0.0.30" + implementation "com.github.ppgco:ppg-core-android-sdk:0.0.31" implementation 'com.google.firebase:firebase-messaging-ktx:23.1.2' implementation platform('com.google.firebase:firebase-bom:31.2.3') } @@ -327,7 +327,7 @@ apply plugin: 'com.google.gms.google-services' ```groovy dependencies { ... - implementation 'com.github.ppgco:ppg-core-android-sdk:0.0.30' + implementation 'com.github.ppgco:ppg-core-android-sdk:0.0.31' implementation 'com.huawei.agconnect:agconnect-core:1.7.2.300' implementation 'com.huawei.hms:push:6.7.0.300' } diff --git a/android/build.gradle b/android/build.gradle index cd16daf..bf4fb16 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -46,7 +46,7 @@ android { } dependencies { - implementation 'com.github.ppgco:ppg-core-android-sdk:0.0.30' + implementation 'com.github.ppgco:ppg-core-android-sdk:0.0.31' implementation 'androidx.appcompat:appcompat:1.6.1' implementation 'com.google.firebase:firebase-messaging-ktx:23.1.2' implementation platform('com.google.firebase:firebase-bom:31.2.3') diff --git a/example/ios/Flutter/AppFrameworkInfo.plist b/example/ios/Flutter/AppFrameworkInfo.plist index 9625e10..163000d 100644 --- a/example/ios/Flutter/AppFrameworkInfo.plist +++ b/example/ios/Flutter/AppFrameworkInfo.plist @@ -21,6 +21,6 @@ CFBundleVersion 1.0 MinimumOSVersion - 11.0 + 14.0 diff --git a/example/ios/NSE/Info.plist b/example/ios/NSE/Info.plist index b48020c..57421eb 100644 --- a/example/ios/NSE/Info.plist +++ b/example/ios/NSE/Info.plist @@ -2,8 +2,6 @@ - PpgCoreSDKEndpoint - https://ppg-core.master1.qappg.co/v1 NSExtension NSExtensionPointIdentifier diff --git a/example/ios/Podfile b/example/ios/Podfile index 1019e8e..9fdd722 100644 --- a/example/ios/Podfile +++ b/example/ios/Podfile @@ -1,5 +1,5 @@ # Uncomment this line to define a global platform for your project -# platform :ios, '11.0' +platform :ios, '14.0' # CocoaPods analytics sends network stats synchronously affecting flutter build latency. ENV['COCOAPODS_DISABLE_STATS'] = 'true' @@ -32,13 +32,13 @@ target 'Runner' do use_frameworks! use_modular_headers! flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__)) - pod 'PpgCoreSDK', '~> 0.0.8' + pod 'PpgCoreSDK', '~> 0.0.9' end target 'NSE' do platform :ios, '14.0' use_frameworks! - pod 'PpgCoreSDK', '~> 0.0.8' + pod 'PpgCoreSDK', '~> 0.0.9' end post_install do |installer| diff --git a/example/ios/Podfile.lock b/example/ios/Podfile.lock index b022437..09e70f9 100644 --- a/example/ios/Podfile.lock +++ b/example/ios/Podfile.lock @@ -1,14 +1,14 @@ PODS: - Flutter (1.0.0) - - ppg_core (0.0.1): + - ppg_core (0.0.5): - Flutter - PpgCoreSDK - - PpgCoreSDK (0.0.8) + - PpgCoreSDK (0.0.9) DEPENDENCIES: - Flutter (from `Flutter`) - ppg_core (from `.symlinks/plugins/ppg_core/ios`) - - PpgCoreSDK (~> 0.0.8) + - PpgCoreSDK (~> 0.0.9) SPEC REPOS: trunk: @@ -22,9 +22,9 @@ EXTERNAL SOURCES: SPEC CHECKSUMS: Flutter: f04841e97a9d0b0a8025694d0796dd46242b2854 - ppg_core: f294af98ca038ecd3e054c429cc7a49b944174d5 - PpgCoreSDK: 26c4d8f23fe7b8ab9e7476f74299c69c44e12e9d + ppg_core: da70a4ee9033090b03bb4e1701570885217f9887 + PpgCoreSDK: a19d177da5b9df3281f5d86b16b10c57c7183f04 -PODFILE CHECKSUM: 7b120daf2633dbc0b656910d0c56ac250e6d4b18 +PODFILE CHECKSUM: 1291197bf36a59ad881d7f79e8d59e0512234022 COCOAPODS: 1.12.1 diff --git a/example/ios/Runner.xcodeproj/project.pbxproj b/example/ios/Runner.xcodeproj/project.pbxproj index 803c5e8..bafc588 100644 --- a/example/ios/Runner.xcodeproj/project.pbxproj +++ b/example/ios/Runner.xcodeproj/project.pbxproj @@ -10,6 +10,8 @@ 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; }; 37B8C710CF787FAFEB1F151E /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 46EF4E9F2A15246C00C5054A /* Pods_Runner.framework */; }; 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; }; + 462BCC5F2A38ED3C0023FDFC /* PpgCore.plist in Resources */ = {isa = PBXBuildFile; fileRef = 462BCC5E2A38ED3C0023FDFC /* PpgCore.plist */; }; + 462BCC602A38ED3C0023FDFC /* PpgCore.plist in Resources */ = {isa = PBXBuildFile; fileRef = 462BCC5E2A38ED3C0023FDFC /* PpgCore.plist */; }; 4641D1B02A161CC800F39972 /* NotificationService.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4641D1AF2A161CC800F39972 /* NotificationService.swift */; }; 4641D1B42A161CC800F39972 /* NSE.appex in Embed Foundation Extensions */ = {isa = PBXBuildFile; fileRef = 4641D1AD2A161CC800F39972 /* NSE.appex */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; }; 4641D1C52A1622EA00F39972 /* Pods_NSE.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4641D1B92A161D2400F39972 /* Pods_NSE.framework */; }; @@ -71,6 +73,7 @@ 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = ""; }; 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = ""; }; 46246C2D2A0BE14E00DFF9AA /* Runner.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = Runner.entitlements; sourceTree = ""; }; + 462BCC5E2A38ED3C0023FDFC /* PpgCore.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = PpgCore.plist; sourceTree = ""; }; 4641D1AD2A161CC800F39972 /* NSE.appex */ = {isa = PBXFileReference; explicitFileType = "wrapper.app-extension"; includeInIndex = 0; path = NSE.appex; sourceTree = BUILT_PRODUCTS_DIR; }; 4641D1AF2A161CC800F39972 /* NotificationService.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NotificationService.swift; sourceTree = ""; }; 4641D1B12A161CC800F39972 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; @@ -188,6 +191,7 @@ 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */, 74858FAE1ED2DC5600515810 /* AppDelegate.swift */, 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */, + 462BCC5E2A38ED3C0023FDFC /* PpgCore.plist */, ); path = Runner; sourceTree = ""; @@ -281,6 +285,7 @@ isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( + 462BCC602A38ED3C0023FDFC /* PpgCore.plist in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -288,6 +293,7 @@ isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( + 462BCC5F2A38ED3C0023FDFC /* PpgCore.plist in Resources */, 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */, 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */, 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */, diff --git a/example/ios/Runner/Info.plist b/example/ios/Runner/Info.plist index e3b48a3..2f62d03 100644 --- a/example/ios/Runner/Info.plist +++ b/example/ios/Runner/Info.plist @@ -2,8 +2,6 @@ - PpgCoreSDKEndpoint - https://ppg-core.master1.qappg.co/v1 FlutterDeepLinkingEnabled CFBundleURLTypes diff --git a/example/ios/Runner/PpgCore.plist b/example/ios/Runner/PpgCore.plist new file mode 100644 index 0000000..d272ac5 --- /dev/null +++ b/example/ios/Runner/PpgCore.plist @@ -0,0 +1,32 @@ + + + + + PpgCoreSDKEndpoint + https://ppg-core.master1.qappg.co/v1 + PpgCoreChannels + + + name + testing_channel + sound + Submarine.aiff + actions + + Reply + + + + name + testing_channel_nowy + sound + default + actions + + Open + Show more + + + + + diff --git a/example/pubspec.lock b/example/pubspec.lock index 0169a4f..a1b4ba4 100644 --- a/example/pubspec.lock +++ b/example/pubspec.lock @@ -137,7 +137,7 @@ packages: path: ".." relative: true source: path - version: "0.0.4" + version: "0.0.5" sky_engine: dependency: transitive description: flutter diff --git a/ios/ppg_core.podspec b/ios/ppg_core.podspec index 80355b6..29224a7 100644 --- a/ios/ppg_core.podspec +++ b/ios/ppg_core.podspec @@ -4,7 +4,7 @@ # Pod::Spec.new do |s| s.name = 'ppg_core' - s.version = '0.0.4' + s.version = '0.0.5' s.summary = 'PushPushGo Core SDK' s.description = <<-DESC PushPushGo Core SDK for Flutter (Dart) @@ -17,7 +17,7 @@ Pod::Spec.new do |s| s.source_files = 'Classes/**/*' s.dependency 'Flutter' s.dependency 'PpgCoreSDK' - s.platform = :ios, '11.0' + s.platform = :ios, '14.0' # Flutter.framework does not contain a i386 slice. s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386' } diff --git a/pubspec.yaml b/pubspec.yaml index 7c25129..5c9b755 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: ppg_core description: PushPushGo Core SDK for Flutter (Dart) -version: 0.0.4 +version: 0.0.5 repository: https://github.com/ppgco/ppg-core-flutter-sdk environment: