react-native-mapp-plugin 1.3.4 → 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.
Files changed (62) hide show
  1. package/CHANGELOG.md +34 -0
  2. package/RNMappPlugin.podspec +4 -7
  3. package/ios/Frameworks/AppoxeeInapp.xcframework/Info.plist +48 -0
  4. package/ios/Frameworks/{AppoxeeInapp.framework/Versions/A → AppoxeeInapp.xcframework/ios-arm64}/Headers/AppoxeeInapp.h +5 -4
  5. package/ios/Frameworks/AppoxeeInapp.xcframework/ios-arm64/libAppoxeeInapp.a +0 -0
  6. package/ios/Frameworks/AppoxeeInapp.xcframework/ios-arm64_x86_64-simulator/Headers/APXInBoxMessage.h +101 -0
  7. package/ios/Frameworks/AppoxeeInapp.xcframework/ios-arm64_x86_64-simulator/Headers/AppoxeeInapp.h +154 -0
  8. package/ios/Frameworks/AppoxeeInapp.xcframework/ios-arm64_x86_64-simulator/Headers/AppoxeeInappSDK.h +9 -0
  9. package/ios/Frameworks/AppoxeeInapp.xcframework/ios-arm64_x86_64-simulator/libAppoxeeInapp.a +0 -0
  10. package/ios/Frameworks/AppoxeeSDK.xcframework/Info.plist +5 -5
  11. package/ios/Frameworks/AppoxeeSDK.xcframework/ios-arm64/Headers/Appoxee.h +4 -3
  12. package/ios/Frameworks/AppoxeeSDK.xcframework/ios-arm64/Headers/AppoxeeManager.h +2 -2
  13. package/ios/Frameworks/AppoxeeSDK.xcframework/ios-arm64/libAppoxeeSDK.a +0 -0
  14. package/ios/Frameworks/AppoxeeSDK.xcframework/ios-arm64_x86_64-simulator/Headers/Appoxee.h +4 -3
  15. package/ios/Frameworks/AppoxeeSDK.xcframework/ios-arm64_x86_64-simulator/Headers/AppoxeeManager.h +2 -2
  16. package/ios/Frameworks/AppoxeeSDK.xcframework/ios-arm64_x86_64-simulator/libAppoxeeSDK.a +0 -0
  17. package/ios/RNMappPlugin.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
  18. package/ios/RNMappPlugin.xcodeproj/project.xcworkspace/xcuserdata/stefan.stevanovic.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
  19. package/ios/RNMappPlugin.xcodeproj/xcuserdata/stefan.stevanovic.xcuserdatad/xcschemes/xcschememanagement.plist +14 -0
  20. package/package.json +1 -1
  21. package/react-native-mapp-plugin-1.3.8.tgz +0 -0
  22. package/.idea/Mapp-Engage-ReactNative-Plugin.iml +0 -9
  23. package/.idea/caches/deviceStreaming.xml +0 -787
  24. package/.idea/misc.xml +0 -6
  25. package/.idea/modules.xml +0 -8
  26. package/.idea/vcs.xml +0 -6
  27. package/android/.gradle/8.14.3/checksums/checksums.lock +0 -0
  28. package/android/.gradle/8.14.3/fileChanges/last-build.bin +0 -0
  29. package/android/.gradle/8.14.3/fileHashes/fileHashes.lock +0 -0
  30. package/android/.gradle/8.14.3/gc.properties +0 -0
  31. package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  32. package/android/.gradle/buildOutputCleanup/cache.properties +0 -2
  33. package/android/.gradle/vcs-1/gc.properties +0 -0
  34. package/android/.idea/.name +0 -1
  35. package/android/.idea/AndroidProjectSystem.xml +0 -6
  36. package/android/.idea/caches/deviceStreaming.xml +0 -981
  37. package/android/.idea/compiler.xml +0 -6
  38. package/android/.idea/deviceManager.xml +0 -13
  39. package/android/.idea/gradle.xml +0 -38
  40. package/android/.idea/kotlinc.xml +0 -6
  41. package/android/.idea/migrations.xml +0 -10
  42. package/android/.idea/misc.xml +0 -10
  43. package/android/.idea/runConfigurations.xml +0 -17
  44. package/android/.idea/vcs.xml +0 -6
  45. package/android/.idea/workspace.xml +0 -68
  46. package/android/build/reports/problems/problems-report.html +0 -663
  47. package/build/generated/ios/MappEngagePluginSpec/MappEngagePluginSpec-generated.mm +0 -16
  48. package/build/generated/ios/MappEngagePluginSpec/MappEngagePluginSpec.h +0 -38
  49. package/build/generated/ios/MappEngagePluginSpecJSI-generated.cpp +0 -17
  50. package/build/generated/ios/MappEngagePluginSpecJSI.h +0 -19
  51. package/build/generated/ios/RCTAppDependencyProvider.h +0 -25
  52. package/build/generated/ios/RCTAppDependencyProvider.mm +0 -35
  53. package/build/generated/ios/RCTModuleProviders.h +0 -16
  54. package/build/generated/ios/RCTModuleProviders.mm +0 -51
  55. package/build/generated/ios/RCTModulesConformingToProtocolsProvider.h +0 -18
  56. package/build/generated/ios/RCTModulesConformingToProtocolsProvider.mm +0 -54
  57. package/build/generated/ios/RCTThirdPartyComponentsProvider.h +0 -16
  58. package/build/generated/ios/RCTThirdPartyComponentsProvider.mm +0 -30
  59. package/build/generated/ios/ReactAppDependencyProvider.podspec +0 -34
  60. package/ios/Frameworks/AppoxeeInapp.framework/Versions/A/AppoxeeInapp +0 -0
  61. /package/ios/Frameworks/{AppoxeeInapp.framework/Versions/A → AppoxeeInapp.xcframework/ios-arm64}/Headers/APXInBoxMessage.h +0 -0
  62. /package/ios/Frameworks/{AppoxeeInapp.framework/Versions/A → AppoxeeInapp.xcframework/ios-arm64}/Headers/AppoxeeInappSDK.h +0 -0
package/CHANGELOG.md CHANGED
@@ -1,3 +1,37 @@
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
+
20
+ ## Version 1.3.5
21
+
22
+ ***Bug Fixes***
23
+
24
+ -iOS: Fixed an issue where App Store links from Push messages could not be opened.
25
+
26
+ -iOS: Fixed a bug where calling setAlias with resendAttributes = true did not resend cached custom attributes as expected.
27
+
28
+ ***Dependency Updates***
29
+
30
+ -Aligned with Mapp Engage iOS SDK 6.1.2 and Mapp Engage Inapp iOS SDK 6.0.9.
31
+
32
+ **Note:**
33
+ -This release ensures correct link handling from Push messages and restores expected behavior when resending cached attributes during alias updates on iOS. The update is fully backward compatible and recommended for all iOS integrations using alias functionality.
34
+
1
35
  # Version 1.3.4
2
36
  - Updated native Mapp SDK versions; for Android - 6.1.3; for iOS - 6.1.1;
3
37
  **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.1'
29
- s.dependency "MappSDKInapp"
30
- s.dependency "MappSDKGeotargeting", '~> 6.0.7'
31
28
 
32
29
  end
33
30
 
@@ -0,0 +1,48 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>AvailableLibraries</key>
6
+ <array>
7
+ <dict>
8
+ <key>BinaryPath</key>
9
+ <string>libAppoxeeInapp.a</string>
10
+ <key>HeadersPath</key>
11
+ <string>Headers</string>
12
+ <key>LibraryIdentifier</key>
13
+ <string>ios-arm64</string>
14
+ <key>LibraryPath</key>
15
+ <string>libAppoxeeInapp.a</string>
16
+ <key>SupportedArchitectures</key>
17
+ <array>
18
+ <string>arm64</string>
19
+ </array>
20
+ <key>SupportedPlatform</key>
21
+ <string>ios</string>
22
+ </dict>
23
+ <dict>
24
+ <key>BinaryPath</key>
25
+ <string>libAppoxeeInapp.a</string>
26
+ <key>HeadersPath</key>
27
+ <string>Headers</string>
28
+ <key>LibraryIdentifier</key>
29
+ <string>ios-arm64_x86_64-simulator</string>
30
+ <key>LibraryPath</key>
31
+ <string>libAppoxeeInapp.a</string>
32
+ <key>SupportedArchitectures</key>
33
+ <array>
34
+ <string>arm64</string>
35
+ <string>x86_64</string>
36
+ </array>
37
+ <key>SupportedPlatform</key>
38
+ <string>ios</string>
39
+ <key>SupportedPlatformVariant</key>
40
+ <string>simulator</string>
41
+ </dict>
42
+ </array>
43
+ <key>CFBundlePackageType</key>
44
+ <string>XFWK</string>
45
+ <key>XCFrameworkFormatVersion</key>
46
+ <string>1.0</string>
47
+ </dict>
48
+ </plist>
@@ -15,7 +15,8 @@ typedef NS_ENUM(NSInteger, INAPPSERVER) {
15
15
  eMC_US,
16
16
  cROC,
17
17
  tEST,
18
- tEST55
18
+ tEST55,
19
+ tEST61
19
20
  };
20
21
 
21
22
  @class AppoxeeInapp;
@@ -79,7 +80,7 @@ typedef NS_ENUM(NSInteger, INAPPSERVER) {
79
80
  /**
80
81
  Appoxee Inapp instance
81
82
  @brief Method for getting a singleton instance of AppoxeeInapp
82
- @code
83
+ <pre><code>
83
84
  AppoxeeInapp *appoxeeInapp = [AppoxeeInapp shared];
84
85
  </pre></code>
85
86
  @return AppoxeeInapp an Instance Type of AppoxeeInapp.
@@ -102,7 +103,7 @@ typedef NS_ENUM(NSInteger, INAPPSERVER) {
102
103
  Method for engaging with AppoxeeInapp SDK.
103
104
  @brief Call this method to enable engagement with AppoxeeInapp SDK. You will typically call this method on application launch.
104
105
  @attention Method is considered critical, and must be implemented.
105
- @code
106
+ <pre><code>
106
107
  - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
107
108
  {
108
109
  [[AppoxeeInapp shared] engageWithDelegate:self];
@@ -119,7 +120,7 @@ typedef NS_ENUM(NSInteger, INAPPSERVER) {
119
120
  /**
120
121
  Method for reporting an interactionable event, which may trigger a display of an Inapp message, provided by a Real Time Decisioning Engine.
121
122
  @brief Call this method to report significant events, which may trigger a display of an Inapp banner message or a full screen Inapp message.
122
- @code
123
+ <pre><code>
123
124
  - (void)userDidConfirmPaymentOfAmount:(nonnull NSNumber *)amount
124
125
  {
125
126
  [[AppoxeeInapp shared] reportInteractionEventWithName:@"payment" andAttributes:@{@"amount" : amount}];
@@ -0,0 +1,101 @@
1
+ //
2
+ // InBoxMessage.h
3
+ // AppoxeeInapp
4
+ //
5
+ // Created by Neelesh on 29/03/18.
6
+ // Copyright © 2018 Teradata. All rights reserved.
7
+ //
8
+
9
+ #import <Foundation/Foundation.h>
10
+ #import <UIKit/UIKit.h>
11
+ #import <WebKit/WebKit.h>
12
+
13
+ @interface APXInBoxMessage : NSObject
14
+
15
+ /*!
16
+ * The template id of message
17
+ */
18
+ @property (nonatomic, strong, readonly, nonnull) NSString * messageId;
19
+
20
+ /*!
21
+ * HTML content of the message received
22
+ */
23
+ @property (nonatomic, strong, readonly, nullable) NSString * content;
24
+
25
+ /*!
26
+ * Subject of the message
27
+ */
28
+ @property (nonatomic, strong, readonly, nullable) NSString * subject;
29
+
30
+ /*!
31
+ * Status of message (READ, UNREAD & DELETED)
32
+ */
33
+ @property (nonatomic, strong, readonly, nullable) NSString * status;
34
+
35
+ /*!
36
+ * Summary of message
37
+ */
38
+ @property (nonatomic, strong, readonly, nullable) NSString * summary;
39
+
40
+ /*!
41
+ * URL of the icon related to message
42
+ */
43
+ @property (nonatomic, strong, readonly, nullable) NSString * iconUrl;
44
+
45
+ /*!
46
+ * Message sent time stamp UTC
47
+ */
48
+ @property (nonatomic, strong, readonly, nullable) NSDate * sentDate;
49
+
50
+ /*!
51
+ * Message expiry time stamp UTC
52
+ */
53
+ @property (nonatomic, strong, readonly, nullable) NSDate * expireDate;
54
+
55
+ /*!
56
+ * Extra parameters
57
+ */
58
+ @property (nonatomic, strong, readonly, nullable) NSDictionary * extras;
59
+
60
+ /*!
61
+ * whole dictionary
62
+ */
63
+ @property (nonatomic, strong, readonly, nullable) NSDictionary * allDict;
64
+
65
+ /*!
66
+ * Method used to create message from server response
67
+ */
68
+ + (nullable instancetype)messageFromKeyedValues:(nullable NSDictionary *)keyedValues withEventId:(NSString *_Nonnull)eventId;
69
+
70
+ /*!
71
+ Return whole dictionary to addopt cordova plugin
72
+ */
73
+ - (NSDictionary *)getDictionary;
74
+
75
+ /*!
76
+ * Handles all actions based on the request received
77
+ */
78
+ - (BOOL)handleAPXActionsForRequest:(NSURLRequest *_Nullable)request navigationType:(WKNavigationType)navigationType;
79
+
80
+ /*!
81
+ * Method used to change message status to read
82
+ */
83
+ - (void)markAsRead;
84
+
85
+ /*!
86
+ * Method used to change message status to unread
87
+ */
88
+ - (void)markAsUnread;
89
+
90
+ /*!
91
+ * Method used to create message status to delete
92
+ */
93
+ - (void)markAsDeleted;
94
+
95
+
96
+ /*!
97
+ * Not to be used by developer. It is for internal mapping only
98
+ */
99
+ - (NSString *_Nonnull)getMessageIdentifier;
100
+
101
+ @end
@@ -0,0 +1,154 @@
1
+ //
2
+ // AppoxeeInapp.h
3
+ // AppoxeeInapp
4
+ //
5
+ // Created by Raz Elkayam on 4/17/16.
6
+ // Copyright © 2016 Teradata. All rights reserved.
7
+ //
8
+
9
+ #import <Foundation/Foundation.h>
10
+ #import "APXInBoxMessage.h"
11
+
12
+ typedef NS_ENUM(NSInteger, INAPPSERVER) {
13
+ l3,
14
+ eMC,
15
+ eMC_US,
16
+ cROC,
17
+ tEST,
18
+ tEST55,
19
+ tEST61
20
+ };
21
+
22
+ @class AppoxeeInapp;
23
+
24
+ @protocol AppoxeeInappDelegate <NSObject>
25
+
26
+ @optional
27
+ /**
28
+ Delegate method for informing a received Inapp message.
29
+ @brief Method will be called when an Inapp message is receieved.
30
+ @param appoxeeInapp A singleton instance of AppoxeeInapp.
31
+ @param identifier NSNumber as an identifier for the specific message.
32
+ @param messageExtraData NSDictionary which may contain extra data assigned to the specific message.
33
+ */
34
+ - (void)appoxeeInapp:(nonnull AppoxeeInapp *)appoxeeInapp didReceiveInappMessageWithIdentifier:(nonnull NSNumber *)identifier andMessageExtraData:(nullable NSDictionary <NSString *, id> *)messageExtraData;
35
+
36
+ /**
37
+ Delegate method for informing a received Inapp message.
38
+ @brief Method will be called when a button click event has deep link associated.
39
+ @param identifier NSNumber as an identifier for the specific message.
40
+ @param message NSString which may contain information on page to be loaded in application.
41
+ @param triggerEvent contains information which type of event has been triggered
42
+ */
43
+ - (void)didReceiveDeepLinkWithIdentifier:(nonnull NSNumber *)identifier withMessageString:(nonnull NSString *)message andTriggerEvent:(nonnull NSString *)triggerEvent;
44
+
45
+ /**
46
+ Delegate method for informing a received Inapp message.
47
+ @brief Method will be called when a button click event has deep link associated.
48
+ @param identifier NSNumber as an identifier for the specific message.
49
+ @param message NSString which may contain information on page to be loaded in application.
50
+ */
51
+ - (void)didReceiveCustomLinkWithIdentifier:(nonnull NSNumber *)identifier withMessageString:(nonnull NSString *)message;
52
+
53
+ /**
54
+ Delegate method for informing a received In Box message.
55
+ @param messages contains the list of in box messages as InBoxMessage objects.
56
+ */
57
+ - (void)didReceiveInBoxMessages:(NSArray *_Nullable)messages;
58
+
59
+
60
+ - (void)inAppCallFailedWithResponse:(NSString *_Nullable)response andError:(NSError *_Nullable)error;
61
+
62
+ /**
63
+ Delegate method for informing a received In Box message.
64
+ @param messages contains the list of in box messages as InBoxMessage objects.
65
+ */
66
+ - (void)didReceiveInBoxMessage:(APXInBoxMessage *_Nullable)message;
67
+
68
+
69
+ @end
70
+
71
+ @interface AppoxeeInapp : NSObject
72
+
73
+ /*!
74
+ * The Appoxee Inapp delegate.
75
+ */
76
+ @property (nonatomic, weak, nullable) id <AppoxeeInappDelegate> delegate;
77
+ @property (nonatomic, weak, nullable) UIImage* closeButtonImage;
78
+ @property (nonatomic, readwrite) enum INAPPSERVER server;
79
+
80
+ /**
81
+ Appoxee Inapp instance
82
+ @brief Method for getting a singleton instance of AppoxeeInapp
83
+ <pre><code>
84
+ AppoxeeInapp *appoxeeInapp = [AppoxeeInapp shared];
85
+ </pre></code>
86
+ @return AppoxeeInapp an Instance Type of AppoxeeInapp.
87
+ */
88
+ + (nullable instancetype)shared;
89
+
90
+ /**
91
+ Appoxee Inapp version
92
+ @brief Method for getting the SDK version
93
+ @code
94
+ NSString *version = [AppoxeeInapp inappVersion];
95
+ </pre></code>
96
+ @return NSString representing the SDK version.
97
+ */
98
+ + (nonnull NSString *)inappVersion;
99
+
100
+ - (enum INAPPSERVER)getServer;
101
+
102
+ /**
103
+ Method for engaging with AppoxeeInapp SDK.
104
+ @brief Call this method to enable engagement with AppoxeeInapp SDK. You will typically call this method on application launch.
105
+ @attention Method is considered critical, and must be implemented.
106
+ <pre><code>
107
+ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
108
+ {
109
+ [[AppoxeeInapp shared] engageWithDelegate:self];
110
+
111
+ return YES;
112
+ }
113
+ </pre></code>
114
+ @param delegate id which conforms to AppoxeeInappDelegate protocol.
115
+ */
116
+ - (void)engageWithDelegate:(nullable id <AppoxeeInappDelegate>)delegate with:(enum INAPPSERVER) server;
117
+
118
+ - (void)engageWithDelegate:(nullable id <AppoxeeInappDelegate>)delegate andCloseImage:(nullable UIImage*)closeImage with:(enum INAPPSERVER) server;
119
+
120
+ /**
121
+ Method for reporting an interactionable event, which may trigger a display of an Inapp message, provided by a Real Time Decisioning Engine.
122
+ @brief Call this method to report significant events, which may trigger a display of an Inapp banner message or a full screen Inapp message.
123
+ <pre><code>
124
+ - (void)userDidConfirmPaymentOfAmount:(nonnull NSNumber *)amount
125
+ {
126
+ [[AppoxeeInapp shared] reportInteractionEventWithName:@"payment" andAttributes:@{@"amount" : amount}];
127
+ }
128
+ </pre></code>
129
+ @param name NSString which describes the event name. No spaces, numbers, or symboles are allowed. Preferebly, use camelCase.
130
+ @param attributes NSDictionary which contains Plist objects with any additional data.
131
+ */
132
+ - (void)reportInteractionEventWithName:(nonnull NSString *)name andAttributes:(nullable NSDictionary <NSString *, NSObject <NSCoding> *> *)attributes;
133
+
134
+ /**
135
+ Method for reporting an interactionable event, which may trigger a fetch of all inbox messages, provided by a Real Time Decisioning Engine.
136
+ @brief Call this method to all inbox messages.
137
+ This method sends response of fetched messages in delegate method calls.
138
+ - (void)didReceiveInBoxMessages:(NSArray *_Nullable)messages
139
+ */
140
+ - (void)fetchAPXInBoxMessages;
141
+
142
+ /**
143
+ Method for load next message in queue
144
+ @brief Call this method to all inbox messages.
145
+ This method sends response of fetched messages in delegate method calls.
146
+ - (void)didReceiveInBoxMessages:(NSArray *_Nullable)messages
147
+ */
148
+
149
+ - (void)fetchInBoxMessageWithMessageId:(NSString *_Nullable)messageId;
150
+
151
+ - (void)fireInAppEventWithAppId:(NSString *_Nullable)appId tenantId:(NSString *_Nullable)tenantId userId:(NSString *_Nullable)userId deviceId:(NSString *_Nullable)deviceId jamieUrl:(NSString *_Nullable)jamieUrl alias:(NSString *)alias andEventName:(NSString *_Nullable)eventName;
152
+
153
+
154
+ @end
@@ -0,0 +1,9 @@
1
+ //
2
+ // AppoxeeInappSDK.h
3
+ // AppoxeeInapp
4
+ //
5
+ // Created by Raz Elkayam on 4/17/16.
6
+ // Copyright © 2016 Teradata. All rights reserved.
7
+ //
8
+
9
+ #import "AppoxeeInapp.h"
@@ -10,18 +10,15 @@
10
10
  <key>HeadersPath</key>
11
11
  <string>Headers</string>
12
12
  <key>LibraryIdentifier</key>
13
- <string>ios-arm64_x86_64-simulator</string>
13
+ <string>ios-arm64</string>
14
14
  <key>LibraryPath</key>
15
15
  <string>libAppoxeeSDK.a</string>
16
16
  <key>SupportedArchitectures</key>
17
17
  <array>
18
18
  <string>arm64</string>
19
- <string>x86_64</string>
20
19
  </array>
21
20
  <key>SupportedPlatform</key>
22
21
  <string>ios</string>
23
- <key>SupportedPlatformVariant</key>
24
- <string>simulator</string>
25
22
  </dict>
26
23
  <dict>
27
24
  <key>BinaryPath</key>
@@ -29,15 +26,18 @@
29
26
  <key>HeadersPath</key>
30
27
  <string>Headers</string>
31
28
  <key>LibraryIdentifier</key>
32
- <string>ios-arm64</string>
29
+ <string>ios-arm64_x86_64-simulator</string>
33
30
  <key>LibraryPath</key>
34
31
  <string>libAppoxeeSDK.a</string>
35
32
  <key>SupportedArchitectures</key>
36
33
  <array>
37
34
  <string>arm64</string>
35
+ <string>x86_64</string>
38
36
  </array>
39
37
  <key>SupportedPlatform</key>
40
38
  <string>ios</string>
39
+ <key>SupportedPlatformVariant</key>
40
+ <string>simulator</string>
41
41
  </dict>
42
42
  </array>
43
43
  <key>CFBundlePackageType</key>
@@ -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
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <Workspace
3
+ version = "1.0">
4
+ <FileRef
5
+ location = "self:">
6
+ </FileRef>
7
+ </Workspace>
@@ -0,0 +1,14 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>SchemeUserState</key>
6
+ <dict>
7
+ <key>RNMappPlugin.xcscheme_^#shared#^_</key>
8
+ <dict>
9
+ <key>orderHint</key>
10
+ <integer>0</integer>
11
+ </dict>
12
+ </dict>
13
+ </dict>
14
+ </plist>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-mapp-plugin",
3
- "version": "1.3.4",
3
+ "version": "1.3.6",
4
4
  "description": "Mapp SDK for React Native.",
5
5
  "main": "index.js",
6
6
  "keywords": [
@@ -1,9 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <module type="JAVA_MODULE" version="4">
3
- <component name="NewModuleRootManager" inherit-compiler-output="true">
4
- <exclude-output />
5
- <content url="file://$MODULE_DIR$" />
6
- <orderEntry type="inheritedJdk" />
7
- <orderEntry type="sourceFolder" forTests="false" />
8
- </component>
9
- </module>