react-native-acoustic-mobile-push-action-menu-beta 3.8.16

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/README.md ADDED
@@ -0,0 +1,45 @@
1
+ # react-native-acoustic-mobile-push-action-menu-beta
2
+ ### Plugins
3
+ Contains Android/iOS native SDKs + the wrapper code to create plugins for React Native
4
+
5
+ ----
6
+
7
+ [Overview](https://developer.goacoustic.com/acoustic-campaign/docs/add-the-react-native-plug-in-to-your-app#overview)
8
+ ---
9
+
10
+ # SampleApp
11
+ Contains iOS / Android native applications that build the shared react views [`/screens`] & the sdk plugin(s)
12
+
13
+ ## Build
14
+ - Please see React Native's Guide(s) on how to setup your environment: https://reactnative.dev/docs/environment-setup
15
+ - Once your environment is setup install the packages - including sdk plugins:
16
+ * `cd SampleApp`
17
+ * `yarn install`
18
+
19
+ ### Run Android
20
+ * `brew install android-platform-tools`
21
+ * `npx react-native run-android`
22
+
23
+ ### Run iOS
24
+ * `cd ios`
25
+ * `pod install`
26
+ * open `.xcworkspace` file in xcode
27
+ * build to device or simulator
28
+
29
+ ### Testing the Sample app
30
+ Tests are stored in the `SampleApp/e2e` directory. All test files of the form `*.spec.js` will be automatically picked up and run by the CI pipeline.
31
+
32
+ To run tests, first build the app using the desired configuration using `detox -c [config name] build`, then run the tests using `detox -c [config name] run`.
33
+
34
+ Available configurations are:
35
+ * ios-15
36
+ * ios-14
37
+ * ios-13
38
+ * android-31
39
+ * android-30
40
+ * android-29
41
+ * android-28
42
+ * android-27
43
+ * android-25
44
+
45
+ Test results will be placed in `SampleApp/test-results.xml`.
@@ -0,0 +1,16 @@
1
+ /*
2
+ * Copyright © 2022, 2023 Acoustic, L.P. All rights reserved.
3
+ *
4
+ * NOTICE: This file contains material that is confidential and proprietary to
5
+ * Acoustic, L.P. and/or other developers. No license is granted under any intellectual or
6
+ * industrial property rights of Acoustic, L.P. except as may be provided in an agreement with
7
+ * Acoustic, L.P. Any unauthorized copying or distribution of content from this file is
8
+ * prohibited.
9
+ */
10
+
11
+ #import <React/RCTBridgeModule.h>
12
+ #import <Foundation/Foundation.h>
13
+ #import <React/RCTEventEmitter.h>
14
+
15
+ @interface RNAcousticMobilePushActionMenu : RCTEventEmitter <RCTBridgeModule>
16
+ @end
@@ -0,0 +1,111 @@
1
+ /*
2
+ * Copyright © 2019, 2023 Acoustic, L.P. All rights reserved.
3
+ *
4
+ * NOTICE: This file contains material that is confidential and proprietary to
5
+ * Acoustic, L.P. and/or other developers. No license is granted under any intellectual or
6
+ * industrial property rights of Acoustic, L.P. except as may be provided in an agreement with
7
+ * Acoustic, L.P. Any unauthorized copying or distribution of content from this file is
8
+ * prohibited.
9
+ */
10
+
11
+ #import "RNAcousticMobilePushActionMenu.h"
12
+
13
+ #import <React/RCTLog.h>
14
+ #import <React/RCTUtils.h>
15
+ #import <React/RCTBridge.h>
16
+ #import <React/RCTBundleURLProvider.h>
17
+ #import <React/RCTRootView.h>
18
+ #import <UserNotifications/UserNotifications.h>
19
+
20
+ @interface MCEPayload : NSObject
21
+ -(instancetype)initWithPayload:(NSDictionary*)payload;
22
+ @end
23
+
24
+ @interface MCENotificationPayload : MCEPayload <NSURLSessionDownloadDelegate, NSURLSessionDataDelegate, NSURLSessionTaskDelegate, NSURLSessionDataDelegate>
25
+ - (void) addNotificationCategoryWithCompletionHandler: ( void (^ _Nullable)(void)) completionHandler;
26
+ - (UNMutableNotificationContent * _Nonnull) notificationContent;
27
+ - (NSString * _Nullable) extractAlertString;
28
+ @end
29
+
30
+ extern NSString * const InAppSource;
31
+
32
+ @protocol MCEActionProtocol <NSObject>
33
+ @optional
34
+ -(void)configureAlertTextField:(UITextField*)textField;
35
+ @end
36
+
37
+ @interface MCEActionRegistry : NSObject
38
+ @property(class, nonatomic, readonly) MCEActionRegistry * sharedInstance NS_SWIFT_NAME(shared);
39
+ -(BOOL)registerTarget:(NSObject <MCEActionProtocol> *)target withSelector:(SEL)selector forAction:(NSString*)type;
40
+ @end
41
+
42
+ @interface RNAcousticMobilePushActionMenu()
43
+ @property NSString * actionMenuActionModule;
44
+ @end
45
+
46
+ @interface MCEConfig
47
+ @property(class, nonatomic, readonly) MCEConfig * sharedInstance NS_SWIFT_NAME(shared);
48
+ @end
49
+
50
+ @interface MCESdk : NSObject
51
+ @property(class, nonatomic, readonly) MCESdk * sharedInstance NS_SWIFT_NAME(shared);
52
+ @property (nonatomic) MCEConfig* config;
53
+ @end
54
+
55
+ @implementation RNAcousticMobilePushActionMenu
56
+
57
+ -(void)performAction:(NSDictionary*)action payload:(NSDictionary*)payload {
58
+ NSLog(@"RNAcousticMobilePushActionMenu: performAction");
59
+ if(!self.actionMenuActionModule) {
60
+ NSLog(@"Action Menu Module is not registered, can not show actions interface!");
61
+ return;
62
+ }
63
+
64
+ MCENotificationPayload * notificationPayload = [[MCENotificationPayload alloc] initWithPayload: payload];
65
+ NSString * alert = [notificationPayload extractAlertString];
66
+ NSString * appName = [[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleName"];
67
+ UIAlertController * alertController = [UIAlertController alertControllerWithTitle: appName message: alert preferredStyle: UIAlertControllerStyleAlert];
68
+
69
+ int index=0;
70
+ for (NSDictionary * action in payload[@"category-actions"]) {
71
+ [alertController addAction: [UIAlertAction actionWithTitle:action[@"name"] style:UIAlertActionStyleDefault handler:^(UIAlertAction *alertAction) {
72
+ // perform action
73
+ }]];
74
+ index++;
75
+ }
76
+
77
+ [alertController addAction: [UIAlertAction actionWithTitle:@"Cancel" style: UIAlertActionStyleCancel handler:^(UIAlertAction *action){
78
+ // just dismiss alert
79
+ }]];
80
+
81
+ UIWindow * window = [[UIApplication sharedApplication] keyWindow];
82
+ [window.rootViewController presentViewController:alertController animated:TRUE completion:nil];
83
+ }
84
+
85
+ RCT_EXPORT_METHOD(registerPlugin:(NSString*)module)
86
+ {
87
+ NSLog(@"RNAcousticMobilePushActionMenu: registerPlugin");
88
+ self.actionMenuActionModule = module;
89
+ MCEActionRegistry * registry = [MCEActionRegistry sharedInstance];
90
+ [registry registerTarget: self withSelector:@selector(performAction:payload:) forAction: @"showactions"];
91
+ }
92
+
93
+ RCT_EXPORT_MODULE();
94
+
95
+ - (dispatch_queue_t)methodQueue {
96
+ return dispatch_get_main_queue();
97
+ }
98
+
99
+ + (BOOL)requiresMainQueueSetup {
100
+ return true;
101
+ }
102
+
103
+ - (NSArray<NSString *> *)supportedEvents {
104
+ return @[];
105
+ }
106
+
107
+ - (NSDictionary *)constantsToExport {
108
+ return @{};
109
+ }
110
+
111
+ @end
@@ -0,0 +1,278 @@
1
+ // !$*UTF8*$!
2
+ {
3
+ archiveVersion = 1;
4
+ classes = {
5
+ };
6
+ objectVersion = 46;
7
+ objects = {
8
+
9
+ /* Begin PBXBuildFile section */
10
+ B3E7B58A1CC2AC0600A0062D /* RNAcousticMobilePushActionMenu.m in Sources */ = {isa = PBXBuildFile; fileRef = B3E7B5891CC2AC0600A0062D /* RNAcousticMobilePushActionMenu.m */; };
11
+ /* End PBXBuildFile section */
12
+
13
+ /* Begin PBXCopyFilesBuildPhase section */
14
+ 58B511D91A9E6C8500147676 /* CopyFiles */ = {
15
+ isa = PBXCopyFilesBuildPhase;
16
+ buildActionMask = 2147483647;
17
+ dstPath = "include/$(PRODUCT_NAME)";
18
+ dstSubfolderSpec = 16;
19
+ files = (
20
+ );
21
+ runOnlyForDeploymentPostprocessing = 0;
22
+ };
23
+ /* End PBXCopyFilesBuildPhase section */
24
+
25
+ /* Begin PBXFileReference section */
26
+ 134814201AA4EA6300B7C361 /* libRNAcousticMobilePushActionMenu.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libRNAcousticMobilePushActionMenu.a; sourceTree = BUILT_PRODUCTS_DIR; };
27
+ B3E7B5881CC2AC0600A0062D /* RNAcousticMobilePushActionMenu.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RNAcousticMobilePushActionMenu.h; sourceTree = "<group>"; };
28
+ B3E7B5891CC2AC0600A0062D /* RNAcousticMobilePushActionMenu.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RNAcousticMobilePushActionMenu.m; sourceTree = "<group>"; };
29
+ /* End PBXFileReference section */
30
+
31
+ /* Begin PBXFrameworksBuildPhase section */
32
+ 58B511D81A9E6C8500147676 /* Frameworks */ = {
33
+ isa = PBXFrameworksBuildPhase;
34
+ buildActionMask = 2147483647;
35
+ files = (
36
+ );
37
+ runOnlyForDeploymentPostprocessing = 0;
38
+ };
39
+ /* End PBXFrameworksBuildPhase section */
40
+
41
+ /* Begin PBXGroup section */
42
+ 134814211AA4EA7D00B7C361 /* Products */ = {
43
+ isa = PBXGroup;
44
+ children = (
45
+ 134814201AA4EA6300B7C361 /* libRNAcousticMobilePushActionMenu.a */,
46
+ );
47
+ name = Products;
48
+ sourceTree = "<group>";
49
+ };
50
+ 58B511D21A9E6C8500147676 = {
51
+ isa = PBXGroup;
52
+ children = (
53
+ B3E7B5881CC2AC0600A0062D /* RNAcousticMobilePushActionMenu.h */,
54
+ B3E7B5891CC2AC0600A0062D /* RNAcousticMobilePushActionMenu.m */,
55
+ 134814211AA4EA7D00B7C361 /* Products */,
56
+ C381F969225E475600897A2D /* Frameworks */,
57
+ );
58
+ sourceTree = "<group>";
59
+ };
60
+ C381F969225E475600897A2D /* Frameworks */ = {
61
+ isa = PBXGroup;
62
+ children = (
63
+ );
64
+ name = Frameworks;
65
+ sourceTree = "<group>";
66
+ };
67
+ /* End PBXGroup section */
68
+
69
+ /* Begin PBXNativeTarget section */
70
+ 58B511DA1A9E6C8500147676 /* RNAcousticMobilePushActionMenu */ = {
71
+ isa = PBXNativeTarget;
72
+ buildConfigurationList = 58B511EF1A9E6C8500147676 /* Build configuration list for PBXNativeTarget "RNAcousticMobilePushActionMenu" */;
73
+ buildPhases = (
74
+ 58B511D71A9E6C8500147676 /* Sources */,
75
+ 58B511D81A9E6C8500147676 /* Frameworks */,
76
+ 58B511D91A9E6C8500147676 /* CopyFiles */,
77
+ );
78
+ buildRules = (
79
+ );
80
+ dependencies = (
81
+ );
82
+ name = RNAcousticMobilePushActionMenu;
83
+ productName = RCTDataManager;
84
+ productReference = 134814201AA4EA6300B7C361 /* libRNAcousticMobilePushActionMenu.a */;
85
+ productType = "com.apple.product-type.library.static";
86
+ };
87
+ /* End PBXNativeTarget section */
88
+
89
+ /* Begin PBXProject section */
90
+ 58B511D31A9E6C8500147676 /* Project object */ = {
91
+ isa = PBXProject;
92
+ attributes = {
93
+ LastUpgradeCheck = 0830;
94
+ ORGANIZATIONNAME = Facebook;
95
+ TargetAttributes = {
96
+ 58B511DA1A9E6C8500147676 = {
97
+ CreatedOnToolsVersion = 6.1.1;
98
+ };
99
+ };
100
+ };
101
+ buildConfigurationList = 58B511D61A9E6C8500147676 /* Build configuration list for PBXProject "RNAcousticMobilePushActionMenu" */;
102
+ compatibilityVersion = "Xcode 3.2";
103
+ developmentRegion = English;
104
+ hasScannedForEncodings = 0;
105
+ knownRegions = (
106
+ English,
107
+ en,
108
+ );
109
+ mainGroup = 58B511D21A9E6C8500147676;
110
+ productRefGroup = 58B511D21A9E6C8500147676;
111
+ projectDirPath = "";
112
+ projectRoot = "";
113
+ targets = (
114
+ 58B511DA1A9E6C8500147676 /* RNAcousticMobilePushActionMenu */,
115
+ );
116
+ };
117
+ /* End PBXProject section */
118
+
119
+ /* Begin PBXSourcesBuildPhase section */
120
+ 58B511D71A9E6C8500147676 /* Sources */ = {
121
+ isa = PBXSourcesBuildPhase;
122
+ buildActionMask = 2147483647;
123
+ files = (
124
+ B3E7B58A1CC2AC0600A0062D /* RNAcousticMobilePushActionMenu.m in Sources */,
125
+ );
126
+ runOnlyForDeploymentPostprocessing = 0;
127
+ };
128
+ /* End PBXSourcesBuildPhase section */
129
+
130
+ /* Begin XCBuildConfiguration section */
131
+ 58B511ED1A9E6C8500147676 /* Debug */ = {
132
+ isa = XCBuildConfiguration;
133
+ buildSettings = {
134
+ ALWAYS_SEARCH_USER_PATHS = NO;
135
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
136
+ CLANG_CXX_LIBRARY = "libc++";
137
+ CLANG_ENABLE_MODULES = YES;
138
+ CLANG_ENABLE_OBJC_ARC = YES;
139
+ CLANG_WARN_BOOL_CONVERSION = YES;
140
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
141
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
142
+ CLANG_WARN_EMPTY_BODY = YES;
143
+ CLANG_WARN_ENUM_CONVERSION = YES;
144
+ CLANG_WARN_INFINITE_RECURSION = YES;
145
+ CLANG_WARN_INT_CONVERSION = YES;
146
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
147
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
148
+ CLANG_WARN_UNREACHABLE_CODE = YES;
149
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
150
+ COPY_PHASE_STRIP = NO;
151
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
152
+ ENABLE_TESTABILITY = YES;
153
+ GCC_C_LANGUAGE_STANDARD = gnu99;
154
+ GCC_DYNAMIC_NO_PIC = NO;
155
+ GCC_NO_COMMON_BLOCKS = YES;
156
+ GCC_OPTIMIZATION_LEVEL = 0;
157
+ GCC_PREPROCESSOR_DEFINITIONS = (
158
+ "DEBUG=1",
159
+ "$(inherited)",
160
+ );
161
+ GCC_SYMBOLS_PRIVATE_EXTERN = NO;
162
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
163
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
164
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
165
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
166
+ GCC_WARN_UNUSED_FUNCTION = YES;
167
+ GCC_WARN_UNUSED_VARIABLE = YES;
168
+ IPHONEOS_DEPLOYMENT_TARGET = 8.0;
169
+ MTL_ENABLE_DEBUG_INFO = YES;
170
+ ONLY_ACTIVE_ARCH = YES;
171
+ SDKROOT = iphoneos;
172
+ };
173
+ name = Debug;
174
+ };
175
+ 58B511EE1A9E6C8500147676 /* Release */ = {
176
+ isa = XCBuildConfiguration;
177
+ buildSettings = {
178
+ ALWAYS_SEARCH_USER_PATHS = NO;
179
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
180
+ CLANG_CXX_LIBRARY = "libc++";
181
+ CLANG_ENABLE_MODULES = YES;
182
+ CLANG_ENABLE_OBJC_ARC = YES;
183
+ CLANG_WARN_BOOL_CONVERSION = YES;
184
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
185
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
186
+ CLANG_WARN_EMPTY_BODY = YES;
187
+ CLANG_WARN_ENUM_CONVERSION = YES;
188
+ CLANG_WARN_INFINITE_RECURSION = YES;
189
+ CLANG_WARN_INT_CONVERSION = YES;
190
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
191
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
192
+ CLANG_WARN_UNREACHABLE_CODE = YES;
193
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
194
+ COPY_PHASE_STRIP = YES;
195
+ ENABLE_NS_ASSERTIONS = NO;
196
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
197
+ GCC_C_LANGUAGE_STANDARD = gnu99;
198
+ GCC_NO_COMMON_BLOCKS = YES;
199
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
200
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
201
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
202
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
203
+ GCC_WARN_UNUSED_FUNCTION = YES;
204
+ GCC_WARN_UNUSED_VARIABLE = YES;
205
+ IPHONEOS_DEPLOYMENT_TARGET = 8.0;
206
+ MTL_ENABLE_DEBUG_INFO = NO;
207
+ SDKROOT = iphoneos;
208
+ VALIDATE_PRODUCT = YES;
209
+ };
210
+ name = Release;
211
+ };
212
+ 58B511F01A9E6C8500147676 /* Debug */ = {
213
+ isa = XCBuildConfiguration;
214
+ buildSettings = {
215
+ FRAMEWORK_SEARCH_PATHS = "";
216
+ HEADER_SEARCH_PATHS = (
217
+ "$(inherited)",
218
+ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
219
+ "$(SRCROOT)/../../../React/**",
220
+ "$(SRCROOT)/../../react-native/React/**",
221
+ "$(SRCROOT)",
222
+ );
223
+ LIBRARY_SEARCH_PATHS = (
224
+ "$(inherited)",
225
+ "$(PROJECT_DIR)",
226
+ );
227
+ OTHER_LDFLAGS = "-ObjC";
228
+ PRODUCT_NAME = RNAcousticMobilePushActionMenu;
229
+ SKIP_INSTALL = YES;
230
+ };
231
+ name = Debug;
232
+ };
233
+ 58B511F11A9E6C8500147676 /* Release */ = {
234
+ isa = XCBuildConfiguration;
235
+ buildSettings = {
236
+ FRAMEWORK_SEARCH_PATHS = "";
237
+ HEADER_SEARCH_PATHS = (
238
+ "$(inherited)",
239
+ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
240
+ "$(SRCROOT)/../../../React/**",
241
+ "$(SRCROOT)/../../react-native/React/**",
242
+ "$(SRCROOT)",
243
+ );
244
+ LIBRARY_SEARCH_PATHS = (
245
+ "$(inherited)",
246
+ "$(PROJECT_DIR)",
247
+ );
248
+ OTHER_LDFLAGS = "-ObjC";
249
+ PRODUCT_NAME = RNAcousticMobilePushActionMenu;
250
+ SKIP_INSTALL = YES;
251
+ };
252
+ name = Release;
253
+ };
254
+ /* End XCBuildConfiguration section */
255
+
256
+ /* Begin XCConfigurationList section */
257
+ 58B511D61A9E6C8500147676 /* Build configuration list for PBXProject "RNAcousticMobilePushActionMenu" */ = {
258
+ isa = XCConfigurationList;
259
+ buildConfigurations = (
260
+ 58B511ED1A9E6C8500147676 /* Debug */,
261
+ 58B511EE1A9E6C8500147676 /* Release */,
262
+ );
263
+ defaultConfigurationIsVisible = 0;
264
+ defaultConfigurationName = Release;
265
+ };
266
+ 58B511EF1A9E6C8500147676 /* Build configuration list for PBXNativeTarget "RNAcousticMobilePushActionMenu" */ = {
267
+ isa = XCConfigurationList;
268
+ buildConfigurations = (
269
+ 58B511F01A9E6C8500147676 /* Debug */,
270
+ 58B511F11A9E6C8500147676 /* Release */,
271
+ );
272
+ defaultConfigurationIsVisible = 0;
273
+ defaultConfigurationName = Release;
274
+ };
275
+ /* End XCConfigurationList section */
276
+ };
277
+ rootObject = 58B511D31A9E6C8500147676 /* Project object */;
278
+ }
@@ -0,0 +1,80 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <Scheme
3
+ LastUpgradeVersion = "1020"
4
+ version = "1.3">
5
+ <BuildAction
6
+ parallelizeBuildables = "YES"
7
+ buildImplicitDependencies = "YES">
8
+ <BuildActionEntries>
9
+ <BuildActionEntry
10
+ buildForTesting = "YES"
11
+ buildForRunning = "YES"
12
+ buildForProfiling = "YES"
13
+ buildForArchiving = "YES"
14
+ buildForAnalyzing = "YES">
15
+ <BuildableReference
16
+ BuildableIdentifier = "primary"
17
+ BlueprintIdentifier = "58B511DA1A9E6C8500147676"
18
+ BuildableName = "libRNMobilePushActionMenu.a"
19
+ BlueprintName = "RNMobilePushActionMenu"
20
+ ReferencedContainer = "container:RNMobilePushActionMenu.xcodeproj">
21
+ </BuildableReference>
22
+ </BuildActionEntry>
23
+ </BuildActionEntries>
24
+ </BuildAction>
25
+ <TestAction
26
+ buildConfiguration = "Debug"
27
+ selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
28
+ selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
29
+ shouldUseLaunchSchemeArgsEnv = "YES">
30
+ <Testables>
31
+ </Testables>
32
+ <AdditionalOptions>
33
+ </AdditionalOptions>
34
+ </TestAction>
35
+ <LaunchAction
36
+ buildConfiguration = "Debug"
37
+ selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
38
+ selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
39
+ launchStyle = "0"
40
+ useCustomWorkingDirectory = "NO"
41
+ ignoresPersistentStateOnLaunch = "NO"
42
+ debugDocumentVersioning = "YES"
43
+ debugServiceExtension = "internal"
44
+ allowLocationSimulation = "YES">
45
+ <MacroExpansion>
46
+ <BuildableReference
47
+ BuildableIdentifier = "primary"
48
+ BlueprintIdentifier = "58B511DA1A9E6C8500147676"
49
+ BuildableName = "libRNMobilePushActionMenu.a"
50
+ BlueprintName = "RNMobilePushActionMenu"
51
+ ReferencedContainer = "container:RNMobilePushActionMenu.xcodeproj">
52
+ </BuildableReference>
53
+ </MacroExpansion>
54
+ <AdditionalOptions>
55
+ </AdditionalOptions>
56
+ </LaunchAction>
57
+ <ProfileAction
58
+ buildConfiguration = "Release"
59
+ shouldUseLaunchSchemeArgsEnv = "YES"
60
+ savedToolIdentifier = ""
61
+ useCustomWorkingDirectory = "NO"
62
+ debugDocumentVersioning = "YES">
63
+ <MacroExpansion>
64
+ <BuildableReference
65
+ BuildableIdentifier = "primary"
66
+ BlueprintIdentifier = "58B511DA1A9E6C8500147676"
67
+ BuildableName = "libRNMobilePushActionMenu.a"
68
+ BlueprintName = "RNMobilePushActionMenu"
69
+ ReferencedContainer = "container:RNMobilePushActionMenu.xcodeproj">
70
+ </BuildableReference>
71
+ </MacroExpansion>
72
+ </ProfileAction>
73
+ <AnalyzeAction
74
+ buildConfiguration = "Debug">
75
+ </AnalyzeAction>
76
+ <ArchiveAction
77
+ buildConfiguration = "Release"
78
+ revealArchiveInOrganizer = "YES">
79
+ </ArchiveAction>
80
+ </Scheme>
@@ -0,0 +1,9 @@
1
+ // !$*UTF8*$!
2
+ <?xml version="1.0" encoding="UTF-8"?>
3
+ <Workspace
4
+ version = "1.0">
5
+ <FileRef
6
+ location = "group:RNAcousticMobilePushActionMenu.xcodeproj">
7
+ </FileRef>
8
+ </Workspace>
9
+
package/package.json ADDED
@@ -0,0 +1,39 @@
1
+ {
2
+ "author": "Acoustic, L.P.",
3
+ "dependencies": {
4
+ "chalk": "^2.4.2",
5
+ "ncp": "^2.0.0",
6
+ "plist": "^3.0.1",
7
+ "xcode": "^2.0.0",
8
+ "xml2js": "^0.4.19"
9
+ },
10
+ "description": "BETA: Acoustic Mobile Push Action Menu Plugin",
11
+ "devDependencies": {
12
+ "jetifier": "^1.6.3"
13
+ },
14
+ "homepage": "https://github.com/aipoweredmarketer/ca-mce-react-native",
15
+ "keywords": [
16
+ "react-native",
17
+ "ios",
18
+ "android",
19
+ "mobile push action menu",
20
+ "Campaign"
21
+ ],
22
+ "license": "See license in ../../../license.txt",
23
+ "main": "index.js",
24
+ "name": "react-native-acoustic-mobile-push-action-menu-beta",
25
+ "peerDependencies": {
26
+ "react-native-acoustic-mobile-push-action-menu-beta": "3.8.16",
27
+ "react-native-acoustic-mobile-push-beta": "3.8.12"
28
+ },
29
+ "repository": {
30
+ "directory": "plugins/react-native-acoustic-mobile-push-action-menu",
31
+ "type": "git",
32
+ "url": "https://github.com/aipoweredmarketer/ca-mce-react-native"
33
+ },
34
+ "scripts": {
35
+ "test": "echo \"Error: no test specified\" && exit 1"
36
+ },
37
+ "summary": "react-native ios android mobile push Campaign",
38
+ "version": "3.8.16"
39
+ }
@@ -0,0 +1,23 @@
1
+ require "json"
2
+
3
+ package = JSON.parse(File.read(File.join(__dir__, "package.json")))
4
+
5
+ Pod::Spec.new do |s|
6
+ s.name = "react-native-acoustic-mobile-push-action-menu"
7
+ s.version = package["version"]
8
+ s.summary = package["description"]
9
+ s.description = <<-DESC
10
+ react-native-acoustic-mobile-push-action-menu
11
+ DESC
12
+ s.homepage = "https://github.com/Acoustic-Mobile-Push/React-Native"
13
+ s.license = "Copyright (c) 2019. Acoustic, L.P. All rights reserved"
14
+ s.authors = { "Support" => "support@acoustic.co" }
15
+ s.platforms = { :ios => "12.0" }
16
+ s.source = { :git => "https://github.com/Acoustic-Mobile-Push/React-Native.git", :tag => "#{s.version}" }
17
+
18
+ s.source_files = "ios/*.{h,m,swift}"
19
+ s.requires_arc = true
20
+
21
+ s.dependency "React"
22
+ end
23
+