react-native-mapp-plugin 1.3.5 → 1.3.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,22 @@
1
+ ## Version 1.3.6
2
+
3
+ ***Improvements***
4
+
5
+ -iOS: Updated bundled Mapp Engage SDK binaries to version 6.1.3 (AppoxeeSDK.xcframework).
6
+
7
+ -iOS: Updated CocoaPods integration to use vendored `.xcframework` and bundled resources directly from this plugin.
8
+
9
+ -iOS: Removed direct CocoaPods dependencies on `MappSDK`, `MappSDKInapp`, and `MappSDKGeotargeting` from the podspec to keep native SDK versions aligned with the plugin package.
10
+
11
+ ***Compatibility***
12
+
13
+ -No JavaScript API changes.
14
+
15
+ -No Android SDK changes in this release.
16
+
17
+ **Note:**
18
+ -This is a packaging and dependency-alignment release focused on iOS integration consistency. No breaking changes are expected.
19
+
1
20
  ## Version 1.3.5
2
21
 
3
22
  ***Bug Fixes***
@@ -16,18 +16,15 @@ Pod::Spec.new do |s|
16
16
  s.source = { :git => "https://github.com/MappCloud/React-native-plugin", :tag => "#{s.version}" }
17
17
 
18
18
  s.source_files = "ios/**/*.{h,c,m,swift}"
19
- #s.vendored_framework = "ios/Frameworks/AppoxeeSDK.xcframework", "ios/Frameworks/AppoxeeLocationServices.framework", "ios/Frameworks/AppoxeeInapp.framework"
20
- #s.resources = "ios/Frameworks/AppoxeeSDKResources.bundle", "ios/Frameworks/AppoxeeInappResources.bundle"
21
- #s.preserve_path = "ios/Frameworks/"
22
- # s.public_header_files = "ios/Frameworks/AppoxeeSDK.framework/Headers/"
19
+ s.vendored_framework = "ios/Frameworks/AppoxeeSDK.xcframework", "ios/Frameworks/AppoxeeLocationServices.xcframework", "ios/Frameworks/AppoxeeInapp.xcframework"
20
+ s.resources = "ios/Frameworks/AppoxeeSDKResources.bundle", "ios/Frameworks/AppoxeeInappResources.bundle"
21
+ s.preserve_path = "ios/Frameworks/"
22
+ s.public_header_files = "ios/Frameworks/AppoxeeSDK.xcframework/ios-arm64/Headers/", "ios/Frameworks/AppoxeeLocationServices.xcframework/ios-arm64/Headers/", "ios/Frameworks/AppoxeeInapp.xcframework/ios-arm64/Headers/"
23
23
  s.requires_arc = true
24
24
  s.frameworks = "WebKit"
25
25
  s.library = 'sqlite3'
26
26
  s.dependency "React"
27
27
  s.dependency 'RCT-Folly'
28
- s.dependency "MappSDK" , '~> 6.1.2'
29
- s.dependency "MappSDKInapp" , '~> 6.0.9'
30
- s.dependency "MappSDKGeotargeting", '~> 6.0.7'
31
28
 
32
29
  end
33
30
 
@@ -241,7 +241,7 @@ typedef void(^AppoxeeCompletionHandler)(NSError * _Nullable appoxeeError, id _Nu
241
241
  </code></pre>
242
242
  @param notificationSettings UIUserNotificationSettings instance.
243
243
  */
244
- - (void)didRegisterUserNotificationSettings:(nullable NSObject *)notificationSettings;
244
+ - (void)didRegisterUserNotificationSettings:(nullable NSObject *)notificationSettings API_DEPRECATED("Use UserNotifications Framework's -[UNUserNotificationCenter requestAuthorizationWithOptions:completionHandler:]", ios(8.0, 10.0));
245
245
 
246
246
  #pragma mark - Push Handling iOS9
247
247
 
@@ -274,7 +274,7 @@ typedef void(^AppoxeeCompletionHandler)(NSError * _Nullable appoxeeError, id _Nu
274
274
  @param completionHandler The completionHandler argument passed by the application delegate.
275
275
  @return YES, if Appoxee handled the action, else returns NO. If the returned value is NO, you will need to call completionHandler(); after you finish handling the Push action.
276
276
  */
277
- - (BOOL)handleActionWithIdentifier:(nullable NSString *)identifier forRemoteNotification:(nullable NSDictionary *)userInfo completionHandler:(nonnull void (^)())completionHandler;
277
+ - (BOOL)handleActionWithIdentifier:(nullable NSString *)identifier forRemoteNotification:(nullable NSDictionary *)userInfo completionHandler:(nonnull void (^)(void))completionHandler API_DEPRECATED("Use UserNotifications Framework's -[UNUserNotificationCenterDelegate didReceiveNotificationResponse:withCompletionHandler:]", ios(8.0, 10.0));
278
278
 
279
279
  /*
280
280
 
@@ -523,7 +523,7 @@ typedef void(^AppoxeeCompletionHandler)(NSError * _Nullable appoxeeError, id _Nu
523
523
  An NSString object representing an alias.
524
524
  @param handler Code Block to be executed when method completes with an NSError object and data as arguments.
525
525
  */
526
- - (void)removeDeviceAliasWithCompletionHandler:(nullable AppoxeeCompletionHandler)handler;
526
+ - (void)removeDeviceAliasWithCompletionHandler:(nullable AppoxeeCompletionHandler)handler API_DEPRECATED("removeDeviceAliasWithCompletionHandler() is deprecated and will be removed in version 3.0.0. Use logout() instead.", ios(6.0, 8.0));
527
527
 
528
528
  /**
529
529
  Get an alias for a device.
@@ -875,3 +875,4 @@ typedef void(^AppoxeeCompletionHandler)(NSError * _Nullable appoxeeError, id _Nu
875
875
  - (void)refreshInboxWithCompletionHandler:(nullable AppoxeeCompletionHandler)handler;
876
876
 
877
877
  @end
878
+
@@ -106,7 +106,7 @@
106
106
  @param completionHandler The completionHandler argument passed by the application delegate.
107
107
  @return YES, if Appoxee handled the action, else returns NO. If the returned value is NO, you will need to call completionHandler(); after you finish handling the Push action.
108
108
  */
109
- - (BOOL)handleActionWithIdentifier:(nullable NSString *)identifier forRemoteNotification:(nonnull NSDictionary *)userInfo completionHandler:(void (^ _Nullable)())completionHandler DEPRECATED_MSG_ATTRIBUTE("use handleActionWithIdentifier:forRemoteNotification:completionHandler: instead.");
109
+ - (BOOL)handleActionWithIdentifier:(nullable NSString *)identifier forRemoteNotification:(nonnull NSDictionary *)userInfo completionHandler:(void (^ _Nullable)(void))completionHandler DEPRECATED_MSG_ATTRIBUTE("use handleActionWithIdentifier:forRemoteNotification:completionHandler: instead.");
110
110
 
111
111
  #pragma mark - Device API Legacy
112
112
 
@@ -383,4 +383,4 @@
383
383
  + (void)automaticallyClearNotifications:(BOOL)automatically DEPRECATED_ATTRIBUTE;
384
384
  + (BOOL)isNotificationsClearedAutomatically DEPRECATED_ATTRIBUTE;
385
385
 
386
- @end
386
+ @end
@@ -241,7 +241,7 @@ typedef void(^AppoxeeCompletionHandler)(NSError * _Nullable appoxeeError, id _Nu
241
241
  </code></pre>
242
242
  @param notificationSettings UIUserNotificationSettings instance.
243
243
  */
244
- - (void)didRegisterUserNotificationSettings:(nullable NSObject *)notificationSettings;
244
+ - (void)didRegisterUserNotificationSettings:(nullable NSObject *)notificationSettings API_DEPRECATED("Use UserNotifications Framework's -[UNUserNotificationCenter requestAuthorizationWithOptions:completionHandler:]", ios(8.0, 10.0));
245
245
 
246
246
  #pragma mark - Push Handling iOS9
247
247
 
@@ -274,7 +274,7 @@ typedef void(^AppoxeeCompletionHandler)(NSError * _Nullable appoxeeError, id _Nu
274
274
  @param completionHandler The completionHandler argument passed by the application delegate.
275
275
  @return YES, if Appoxee handled the action, else returns NO. If the returned value is NO, you will need to call completionHandler(); after you finish handling the Push action.
276
276
  */
277
- - (BOOL)handleActionWithIdentifier:(nullable NSString *)identifier forRemoteNotification:(nullable NSDictionary *)userInfo completionHandler:(nonnull void (^)())completionHandler;
277
+ - (BOOL)handleActionWithIdentifier:(nullable NSString *)identifier forRemoteNotification:(nullable NSDictionary *)userInfo completionHandler:(nonnull void (^)(void))completionHandler API_DEPRECATED("Use UserNotifications Framework's -[UNUserNotificationCenterDelegate didReceiveNotificationResponse:withCompletionHandler:]", ios(8.0, 10.0));
278
278
 
279
279
  /*
280
280
 
@@ -523,7 +523,7 @@ typedef void(^AppoxeeCompletionHandler)(NSError * _Nullable appoxeeError, id _Nu
523
523
  An NSString object representing an alias.
524
524
  @param handler Code Block to be executed when method completes with an NSError object and data as arguments.
525
525
  */
526
- - (void)removeDeviceAliasWithCompletionHandler:(nullable AppoxeeCompletionHandler)handler;
526
+ - (void)removeDeviceAliasWithCompletionHandler:(nullable AppoxeeCompletionHandler)handler API_DEPRECATED("removeDeviceAliasWithCompletionHandler() is deprecated and will be removed in version 3.0.0. Use logout() instead.", ios(6.0, 8.0));
527
527
 
528
528
  /**
529
529
  Get an alias for a device.
@@ -875,3 +875,4 @@ typedef void(^AppoxeeCompletionHandler)(NSError * _Nullable appoxeeError, id _Nu
875
875
  - (void)refreshInboxWithCompletionHandler:(nullable AppoxeeCompletionHandler)handler;
876
876
 
877
877
  @end
878
+
@@ -106,7 +106,7 @@
106
106
  @param completionHandler The completionHandler argument passed by the application delegate.
107
107
  @return YES, if Appoxee handled the action, else returns NO. If the returned value is NO, you will need to call completionHandler(); after you finish handling the Push action.
108
108
  */
109
- - (BOOL)handleActionWithIdentifier:(nullable NSString *)identifier forRemoteNotification:(nonnull NSDictionary *)userInfo completionHandler:(void (^ _Nullable)())completionHandler DEPRECATED_MSG_ATTRIBUTE("use handleActionWithIdentifier:forRemoteNotification:completionHandler: instead.");
109
+ - (BOOL)handleActionWithIdentifier:(nullable NSString *)identifier forRemoteNotification:(nonnull NSDictionary *)userInfo completionHandler:(void (^ _Nullable)(void))completionHandler DEPRECATED_MSG_ATTRIBUTE("use handleActionWithIdentifier:forRemoteNotification:completionHandler: instead.");
110
110
 
111
111
  #pragma mark - Device API Legacy
112
112
 
@@ -383,4 +383,4 @@
383
383
  + (void)automaticallyClearNotifications:(BOOL)automatically DEPRECATED_ATTRIBUTE;
384
384
  + (BOOL)isNotificationsClearedAutomatically DEPRECATED_ATTRIBUTE;
385
385
 
386
- @end
386
+ @end
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-mapp-plugin",
3
- "version": "1.3.5",
3
+ "version": "1.3.6",
4
4
  "description": "Mapp SDK for React Native.",
5
5
  "main": "index.js",
6
6
  "keywords": [
index 4a7d0d6..3864051 100644
Binary file