@convivainc/conviva-react-native-appanalytics 0.1.4 → 0.2.0

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 (31) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/README.md +60 -7
  3. package/android/src/main/java/com/conviva/react/apptracker/RNConvivaTrackerModule.java +275 -159
  4. package/android/src/main/java/com/conviva/react/apptracker/util/TrackerVersion.java +1 -1
  5. package/conviva-react-native-appanalytics.d.ts +13 -0
  6. package/conviva-react-native-appanalytics.js +108 -2
  7. package/ios/RNConvivaAppAnalytics.m +78 -21
  8. package/ios/Util/RNTrackerVersion.m +1 -1
  9. package/package.json +1 -1
  10. package/android/.gradle/7.5/checksums/checksums.lock +0 -0
  11. package/android/.gradle/7.5/checksums/md5-checksums.bin +0 -0
  12. package/android/.gradle/7.5/checksums/sha1-checksums.bin +0 -0
  13. package/android/.gradle/7.5/dependencies-accessors/dependencies-accessors.lock +0 -0
  14. package/android/.gradle/7.5/dependencies-accessors/gc.properties +0 -0
  15. package/android/.gradle/7.5/executionHistory/executionHistory.lock +0 -0
  16. package/android/.gradle/7.5/fileChanges/last-build.bin +0 -0
  17. package/android/.gradle/7.5/fileHashes/fileHashes.bin +0 -0
  18. package/android/.gradle/7.5/fileHashes/fileHashes.lock +0 -0
  19. package/android/.gradle/7.5/fileHashes/resourceHashesCache.bin +0 -0
  20. package/android/.gradle/7.5/gc.properties +0 -0
  21. package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  22. package/android/.gradle/buildOutputCleanup/cache.properties +0 -2
  23. package/android/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
  24. package/android/.gradle/config.properties +0 -2
  25. package/android/.gradle/vcs-1/gc.properties +0 -0
  26. package/android/.idea/compiler.xml +0 -6
  27. package/android/.idea/gradle.xml +0 -19
  28. package/android/.idea/migrations.xml +0 -10
  29. package/android/.idea/misc.xml +0 -10
  30. package/android/.idea/vcs.xml +0 -6
  31. package/android/local.properties +0 -8
@@ -4,6 +4,6 @@ import com.conviva.react.apptracker.BuildConfig;
4
4
 
5
5
  public class TrackerVersion {
6
6
 
7
- public final static String RN_CONVIVA_TRACKER_VERSION = "rn-0.1.4";
7
+ public final static String RN_CONVIVA_TRACKER_VERSION = "rn-0.2.0";
8
8
 
9
9
  }
@@ -848,6 +848,19 @@ declare function removeTracker(trackerNamespace: string): Promise<boolean>;
848
848
  * @returns - A boolean promise
849
849
  */
850
850
  declare function removeAllTrackers(): Promise<boolean>;
851
+ /**
852
+ * Gets the cliend id
853
+ *
854
+ * @returns - A string promise
855
+ */
856
+ declare function getClientId(): Promise<string>;
857
+ /**
858
+ * Sets the cliend id
859
+ *
860
+ * @param clientId {string}
861
+ * @returns - A boolean promise
862
+ */
863
+ declare function setClientId(clientId: string): Promise<boolean>;
851
864
  declare const autocaptureNavigationTrack: (...args: any[]) => any;
852
865
 
853
866
  declare const _default: {
@@ -139,6 +139,8 @@ const logMessages = {
139
139
  // api error prefix
140
140
  createTracker: 'createTracker:',
141
141
  removeTracker: 'removeTracker: trackerNamespace can only be a string',
142
+ getClientId: 'getClientId: failed fetching client id',
143
+ setClientId: 'setClientId: clientId is invalid',
142
144
  // methods
143
145
  trackSelfDesc: 'trackSelfDescribingEvent:',
144
146
  trackScreenView: 'trackScreenViewEvent:',
@@ -164,6 +166,7 @@ const logMessages = {
164
166
  setScreenViewport: 'setScreenViewport: screenViewport can only be of ScreenSize type or null',
165
167
  setColorDepth: 'setColorDepth: colorDepth can only be a number(integer) or null',
166
168
  setSubjectData: 'setSubjectData:',
169
+ createTrackerNotSet: 'createTracker not invoked prior:'
167
170
  };
168
171
 
169
172
  /*
@@ -1282,6 +1285,7 @@ function setSubjectData$1(namespace, config) {
1282
1285
  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1283
1286
  * See the Apache License Version 2.0 for the specific language governing permissions and limitations there under.
1284
1287
  */
1288
+ let isTrackerInitialised = false;
1285
1289
  /**
1286
1290
  * Create a tracker from specified initial configuration.
1287
1291
  *
@@ -1290,8 +1294,12 @@ function setSubjectData$1(namespace, config) {
1290
1294
  */
1291
1295
  function createTracker$1(initConfig) {
1292
1296
  return initValidate(initConfig)
1293
- .then(() => RNConvivaTracker.createTracker(initConfig))
1297
+ .then(() => {
1298
+ isTrackerInitialised = true;
1299
+ return RNConvivaTracker.createTracker(initConfig);
1300
+ })
1294
1301
  .catch((error) => {
1302
+ isTrackerInitialised = false;
1295
1303
  throw new Error(`${logMessages.createTracker} ${error.message}.`);
1296
1304
  });
1297
1305
  }
@@ -1305,6 +1313,10 @@ function removeTracker$1(trackerNamespace) {
1305
1313
  if (typeof trackerNamespace !== 'string') {
1306
1314
  return Promise.reject(new Error(logMessages.removeTracker));
1307
1315
  }
1316
+ if (!isTrackerInitialised) {
1317
+ return Promise.reject(new Error(logMessages.createTrackerNotSet));
1318
+ }
1319
+ isTrackerInitialised = false;
1308
1320
  return Promise.resolve(RNConvivaTracker.removeTracker({ tracker: trackerNamespace }));
1309
1321
  }
1310
1322
  /**
@@ -1313,8 +1325,35 @@ function removeTracker$1(trackerNamespace) {
1313
1325
  * @returns - A void promise
1314
1326
  */
1315
1327
  function removeAllTrackers$1() {
1328
+ if (!isTrackerInitialised) {
1329
+ return Promise.reject(new Error(logMessages.createTrackerNotSet));
1330
+ }
1316
1331
  return Promise.resolve(RNConvivaTracker.removeAllTrackers());
1317
1332
  }
1333
+ /**
1334
+ * Get the client id which is in prescribed format.
1335
+ *
1336
+ * @returns - A promise string if the client if available or genetrated
1337
+ */
1338
+ function getClientId$1() {
1339
+ return Promise.resolve(RNConvivaTracker.getClientId())
1340
+ .catch((error) => {
1341
+ throw new Error(`${logMessages.getClientId} ${error.message}.`);
1342
+ });
1343
+ }
1344
+ /**
1345
+ * Set the client id which is in the prescribed format.
1346
+ *
1347
+ * @param clientId {string} - client id generated for the application in the device
1348
+ * @returns - A promise fullfilled if the client id is valid
1349
+ */
1350
+ function setClientId$1(clid) {
1351
+ // have necessary checks in place
1352
+ if (!clid || clid === "" || clid.split(".").length != 4 || !clid.split(".").every(part => part !== "" && !isNaN(Number(part)))) {
1353
+ return Promise.reject(new Error(logMessages.setClientId));
1354
+ }
1355
+ return Promise.resolve(RNConvivaTracker.setClientId({ clientId: clid }));
1356
+ }
1318
1357
  /**
1319
1358
  * Returns a function to track a SelfDescribing event by a tracker
1320
1359
  *
@@ -1323,6 +1362,9 @@ function removeAllTrackers$1() {
1323
1362
  */
1324
1363
  function trackSelfDescribingEvent(namespace) {
1325
1364
  return function (argmap, contexts = []) {
1365
+ if (!isTrackerInitialised) {
1366
+ return Promise.reject(new Error(logMessages.createTrackerNotSet));
1367
+ }
1326
1368
  return trackSelfDescribingEvent$1(namespace, argmap, contexts);
1327
1369
  };
1328
1370
  }
@@ -1334,6 +1376,9 @@ function trackSelfDescribingEvent(namespace) {
1334
1376
  */
1335
1377
  function trackScreenViewEvent(namespace) {
1336
1378
  return function (argmap, contexts = []) {
1379
+ if (!isTrackerInitialised) {
1380
+ return Promise.reject(new Error(logMessages.createTrackerNotSet));
1381
+ }
1337
1382
  return trackScreenViewEvent$1(namespace, argmap, contexts);
1338
1383
  };
1339
1384
  }
@@ -1345,6 +1390,9 @@ function trackScreenViewEvent(namespace) {
1345
1390
  */
1346
1391
  function trackStructuredEvent(namespace) {
1347
1392
  return function (argmap, contexts = []) {
1393
+ if (!isTrackerInitialised) {
1394
+ return Promise.reject(new Error(logMessages.createTrackerNotSet));
1395
+ }
1348
1396
  return trackStructuredEvent$1(namespace, argmap, contexts);
1349
1397
  };
1350
1398
  }
@@ -1356,6 +1404,9 @@ function trackStructuredEvent(namespace) {
1356
1404
  */
1357
1405
  function trackPageView(namespace) {
1358
1406
  return function (argmap, contexts = []) {
1407
+ if (!isTrackerInitialised) {
1408
+ return Promise.reject(new Error(logMessages.createTrackerNotSet));
1409
+ }
1359
1410
  return trackPageView$1(namespace, argmap, contexts);
1360
1411
  };
1361
1412
  }
@@ -1367,6 +1418,9 @@ function trackPageView(namespace) {
1367
1418
  */
1368
1419
  function trackTimingEvent(namespace) {
1369
1420
  return function (argmap, contexts = []) {
1421
+ if (!isTrackerInitialised) {
1422
+ return Promise.reject(new Error(logMessages.createTrackerNotSet));
1423
+ }
1370
1424
  return trackTimingEvent$1(namespace, argmap, contexts);
1371
1425
  };
1372
1426
  }
@@ -1378,6 +1432,9 @@ function trackTimingEvent(namespace) {
1378
1432
  */
1379
1433
  function trackConsentGrantedEvent(namespace) {
1380
1434
  return function (argmap, contexts = []) {
1435
+ if (!isTrackerInitialised) {
1436
+ return Promise.reject(new Error(logMessages.createTrackerNotSet));
1437
+ }
1381
1438
  return trackConsentGrantedEvent$1(namespace, argmap, contexts);
1382
1439
  };
1383
1440
  }
@@ -1389,6 +1446,9 @@ function trackConsentGrantedEvent(namespace) {
1389
1446
  */
1390
1447
  function trackConsentWithdrawnEvent(namespace) {
1391
1448
  return function (argmap, contexts = []) {
1449
+ if (!isTrackerInitialised) {
1450
+ return Promise.reject(new Error(logMessages.createTrackerNotSet));
1451
+ }
1392
1452
  return trackConsentWithdrawnEvent$1(namespace, argmap, contexts);
1393
1453
  };
1394
1454
  }
@@ -1400,6 +1460,9 @@ function trackConsentWithdrawnEvent(namespace) {
1400
1460
  */
1401
1461
  function trackEcommerceTransactionEvent(namespace) {
1402
1462
  return function (argmap, contexts = []) {
1463
+ if (!isTrackerInitialised) {
1464
+ return Promise.reject(new Error(logMessages.createTrackerNotSet));
1465
+ }
1403
1466
  return trackEcommerceTransactionEvent$1(namespace, argmap, contexts);
1404
1467
  };
1405
1468
  }
@@ -1411,6 +1474,9 @@ function trackEcommerceTransactionEvent(namespace) {
1411
1474
  */
1412
1475
  function trackDeepLinkReceivedEvent(namespace) {
1413
1476
  return function (argmap, contexts = []) {
1477
+ if (!isTrackerInitialised) {
1478
+ return Promise.reject(new Error(logMessages.createTrackerNotSet));
1479
+ }
1414
1480
  return trackDeepLinkReceivedEvent$1(namespace, argmap, contexts);
1415
1481
  };
1416
1482
  }
@@ -1422,6 +1488,9 @@ function trackDeepLinkReceivedEvent(namespace) {
1422
1488
  */
1423
1489
  function trackMessageNotificationEvent(namespace) {
1424
1490
  return function (argmap, contexts = []) {
1491
+ if (!isTrackerInitialised) {
1492
+ return Promise.reject(new Error(logMessages.createTrackerNotSet));
1493
+ }
1425
1494
  return trackMessageNotificationEvent$1(namespace, argmap, contexts);
1426
1495
  };
1427
1496
  }
@@ -1433,26 +1502,41 @@ function trackMessageNotificationEvent(namespace) {
1433
1502
  */
1434
1503
  function trackCustomEvent(namespace) {
1435
1504
  return function (eventName, eventData, contexts = []) {
1505
+ if (!isTrackerInitialised) {
1506
+ return Promise.reject(new Error(logMessages.createTrackerNotSet));
1507
+ }
1436
1508
  return trackCustomEvent$1(namespace, eventName, eventData, contexts);
1437
1509
  };
1438
1510
  }
1439
1511
  function setCustomTags(namespace) {
1440
1512
  return function (tags, contexts = []) {
1513
+ if (!isTrackerInitialised) {
1514
+ return Promise.reject(new Error(logMessages.createTrackerNotSet));
1515
+ }
1441
1516
  return setCustomTags$1(namespace, tags, contexts);
1442
1517
  };
1443
1518
  }
1444
1519
  function setCustomTagsWithCategory(namespace) {
1445
1520
  return function (category, tags, contexts = []) {
1521
+ if (!isTrackerInitialised) {
1522
+ return Promise.reject(new Error(logMessages.createTrackerNotSet));
1523
+ }
1446
1524
  return setCustomTagsWithCategory$1(namespace, category, tags, contexts);
1447
1525
  };
1448
1526
  }
1449
1527
  function clearCustomTags(namespace) {
1450
1528
  return function (tagKeys, contexts = []) {
1529
+ if (!isTrackerInitialised) {
1530
+ return Promise.reject(new Error(logMessages.createTrackerNotSet));
1531
+ }
1451
1532
  return clearCustomTags$1(namespace, tagKeys, contexts);
1452
1533
  };
1453
1534
  }
1454
1535
  function clearAllCustomTags(namespace) {
1455
1536
  return function (contexts = []) {
1537
+ if (!isTrackerInitialised) {
1538
+ return Promise.reject(new Error(logMessages.createTrackerNotSet));
1539
+ }
1456
1540
  return clearAllCustomTags$1(namespace, contexts);
1457
1541
  };
1458
1542
  }
@@ -1685,6 +1769,9 @@ function getForegroundIndex(namespace) {
1685
1769
  */
1686
1770
  function trackClickEvent(namespace) {
1687
1771
  return function (eventData) {
1772
+ if (!isTrackerInitialised) {
1773
+ return Promise.reject(new Error(logMessages.createTrackerNotSet));
1774
+ }
1688
1775
  return trackClickEvent$1(namespace, eventData);
1689
1776
  };
1690
1777
  }
@@ -2187,6 +2274,25 @@ function removeAllTrackers() {
2187
2274
  return removeAllTrackers$1()
2188
2275
  .catch((e) => errorHandler(e));
2189
2276
  }
2277
+ /**
2278
+ * Gets the cliend id
2279
+ *
2280
+ * @returns - A string promise
2281
+ */
2282
+ function getClientId() {
2283
+ return Promise.resolve(getClientId$1())
2284
+ .catch((e) => errorHandler(e));
2285
+ }
2286
+ /**
2287
+ * Sets the cliend id
2288
+ *
2289
+ * @param clientId {string}
2290
+ * @returns - A boolean promise
2291
+ */
2292
+ function setClientId(clientId) {
2293
+ return Promise.resolve(setClientId$1(clientId))
2294
+ .catch((e) => errorHandler(e));
2295
+ }
2190
2296
  const autocaptureNavigationTrack = handleError((payload) => {
2191
2297
  checkDisplayNamePlugin();
2192
2298
  trackScreenViewEvent('CAT')(payload).catch((e) => errorHandler(e));
@@ -2200,5 +2306,5 @@ var index = {
2200
2306
  withReactNavigationAutotrack: withReactNavigationAutotrack(autocaptureNavigationTrack)
2201
2307
  };
2202
2308
 
2203
- export { autocaptureNavigationTrack, createTracker, index as default, getWebViewCallback, removeAllTrackers, removeTracker, withReactNavigationAutotrack };
2309
+ export { autocaptureNavigationTrack, createTracker, index as default, getClientId, getWebViewCallback, removeAllTrackers, removeTracker, setClientId, withReactNavigationAutotrack };
2204
2310
  //# sourceMappingURL=conviva-react-native-appanalytics.js.map
@@ -637,10 +637,10 @@ RCT_EXPORT_METHOD(trackCustomEvent:
637
637
 
638
638
  if (trackerController != nil) {
639
639
  NSString *eventName = [details objectForKey:@"eventName"];
640
- NSString *eventData = [details objectForKey:@"eventData"];
640
+ NSDictionary *eventData = [details objectForKey:@"eventData"];
641
641
 
642
642
  if(0 < eventName.length){
643
- [trackerController trackCustomEvent:eventName data:eventData];
643
+ [trackerController trackCustomEvent:eventName eventData:eventData];
644
644
  }
645
645
 
646
646
  resolve(@YES);
@@ -1011,13 +1011,20 @@ RCT_EXPORT_METHOD(getIsInBackground:
1011
1011
  (NSDictionary *)details
1012
1012
  resolver:(RCTPromiseResolveBlock)resolve
1013
1013
  rejecter:(RCTPromiseRejectBlock)reject) {
1014
- NSString *namespace = [details objectForKey:@"tracker"];
1015
- id<CATTrackerController> trackerController = [self trackerByNamespace:namespace];
1016
-
1017
- if (trackerController != nil) {
1018
- BOOL isInBg = [trackerController.session isInBackground];
1019
- resolve(@(isInBg));
1020
- } else {
1014
+ // NSString *namespace = [details objectForKey:@"tracker"];
1015
+ // id<CATTrackerController> trackerController = [self trackerByNamespace:namespace];
1016
+ //
1017
+ // if (trackerController != nil) {
1018
+ // BOOL isInBg = [trackerController.session isInBackground];
1019
+ // resolve(@(isInBg));
1020
+ // } else {
1021
+ // NSError* error = [NSError errorWithDomain:@"ConvivaAppAnalytics" code:200 userInfo:nil];
1022
+ // reject(@"ERROR", @"tracker with given namespace not found", error);
1023
+ // }
1024
+
1025
+ @try {
1026
+ resolve(@(YES));
1027
+ } @catch (NSException *exception) {
1021
1028
  NSError* error = [NSError errorWithDomain:@"ConvivaAppAnalytics" code:200 userInfo:nil];
1022
1029
  reject(@"ERROR", @"tracker with given namespace not found", error);
1023
1030
  }
@@ -1027,13 +1034,19 @@ RCT_EXPORT_METHOD(getBackgroundIndex:
1027
1034
  (NSDictionary *)details
1028
1035
  resolver:(RCTPromiseResolveBlock)resolve
1029
1036
  rejecter:(RCTPromiseRejectBlock)reject) {
1030
- NSString *namespace = [details objectForKey:@"tracker"];
1031
- id<CATTrackerController> trackerController = [self trackerByNamespace:namespace];
1032
-
1033
- if (trackerController != nil) {
1034
- NSInteger bgIdx = [trackerController.session backgroundIndex];
1035
- resolve(@(bgIdx));
1036
- } else {
1037
+ // NSString *namespace = [details objectForKey:@"tracker"];
1038
+ // id<CATTrackerController> trackerController = [self trackerByNamespace:namespace];
1039
+ //
1040
+ // if (trackerController != nil) {
1041
+ // NSInteger bgIdx = [trackerController.session backgroundIndex];
1042
+ // resolve(@(bgIdx));
1043
+ // } else {
1044
+ // NSError* error = [NSError errorWithDomain:@"ConvivaAppAnalytics" code:200 userInfo:nil];
1045
+ // reject(@"ERROR", @"tracker with given namespace not found", error);
1046
+ // }
1047
+ @try {
1048
+ resolve(@(YES));
1049
+ } @catch (NSException *exception) {
1037
1050
  NSError* error = [NSError errorWithDomain:@"ConvivaAppAnalytics" code:200 userInfo:nil];
1038
1051
  reject(@"ERROR", @"tracker with given namespace not found", error);
1039
1052
  }
@@ -1043,12 +1056,56 @@ RCT_EXPORT_METHOD(getForegroundIndex:
1043
1056
  (NSDictionary *)details
1044
1057
  resolver:(RCTPromiseResolveBlock)resolve
1045
1058
  rejecter:(RCTPromiseRejectBlock)reject) {
1046
- NSString *namespace = [details objectForKey:@"tracker"];
1047
- id<CATTrackerController> trackerController = [self trackerByNamespace:namespace];
1059
+ // NSString *namespace = [details objectForKey:@"tracker"];
1060
+ // id<CATTrackerController> trackerController = [self trackerByNamespace:namespace];
1061
+ //
1062
+ // if (trackerController != nil) {
1063
+ // NSInteger fgIdx = [trackerController.session foregroundIndex];
1064
+ // resolve(@(fgIdx));
1065
+ // } else {
1066
+ // NSError* error = [NSError errorWithDomain:@"ConvivaAppAnalytics" code:200 userInfo:nil];
1067
+ // reject(@"ERROR", @"tracker with given namespace not found", error);
1068
+ // }
1069
+ @try {
1070
+ resolve(@(YES));
1071
+ } @catch (NSException *exception) {
1072
+ NSError* error = [NSError errorWithDomain:@"ConvivaAppAnalytics" code:200 userInfo:nil];
1073
+ reject(@"ERROR", @"tracker with given namespace not found", error);
1074
+ }
1075
+ }
1048
1076
 
1049
- if (trackerController != nil) {
1050
- NSInteger fgIdx = [trackerController.session foregroundIndex];
1051
- resolve(@(fgIdx));
1077
+ RCT_EXPORT_METHOD(getClientId: (RCTPromiseResolveBlock)resolve rejecter:(RCTPromiseRejectBlock)reject) {
1078
+
1079
+ CATAppAnalytics *convivaAppAnalytics = [CATAppAnalytics sharedInstance];
1080
+
1081
+ if (convivaAppAnalytics != nil) {
1082
+ NSString *clientId = [convivaAppAnalytics getClientId];
1083
+ if (clientId != nil && clientId.length > 0) {
1084
+ resolve(clientId);
1085
+ }
1086
+ else {
1087
+ NSError* error = [NSError errorWithDomain:@"ConvivaAppAnalytics" code:200 userInfo:nil];
1088
+ reject(@"ERROR", @"ClientId not found", error);
1089
+ }
1090
+ } else {
1091
+ NSError* error = [NSError errorWithDomain:@"ConvivaAppAnalytics" code:200 userInfo:nil];
1092
+ reject(@"ERROR", @"CATAppAnalytics not found", error);
1093
+ }
1094
+ }
1095
+
1096
+ RCT_EXPORT_METHOD(setClientId:
1097
+ (NSDictionary *)details
1098
+ resolver:(RCTPromiseResolveBlock)resolve
1099
+ rejecter:(RCTPromiseRejectBlock)reject) {
1100
+ CATAppAnalytics *convivaAppAnalytics = [CATAppAnalytics sharedInstance];
1101
+
1102
+ if (convivaAppAnalytics != nil) {
1103
+ NSString *newClientId = [details rncat_stringForKey:@"clientId" defaultValue:nil];
1104
+ BOOL isClientIdSet = NO;
1105
+ if (newClientId != nil && newClientId.length > 0) {
1106
+ isClientIdSet = [convivaAppAnalytics setClientId: newClientId];
1107
+ }
1108
+ resolve(@(isClientIdSet));
1052
1109
  } else {
1053
1110
  NSError* error = [NSError errorWithDomain:@"ConvivaAppAnalytics" code:200 userInfo:nil];
1054
1111
  reject(@"ERROR", @"tracker with given namespace not found", error);
@@ -22,6 +22,6 @@
22
22
 
23
23
  @implementation RNTrackerVersion
24
24
 
25
- NSString * const kRNTrackerVersion = @"rn-0.1.4";
25
+ NSString * const kRNTrackerVersion = @"rn-0.2.0";
26
26
 
27
27
  @end
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@convivainc/conviva-react-native-appanalytics",
3
- "version": "0.1.4",
3
+ "version": "0.2.0",
4
4
  "description": "Conviva React Native Application Analytics Library",
5
5
  "main": "conviva-react-native-appanalytics.js",
6
6
  "repository": {
File without changes
@@ -1,2 +0,0 @@
1
- #Mon Dec 18 17:16:15 IST 2023
2
- gradle.version=7.5
@@ -1,2 +0,0 @@
1
- #Mon Dec 18 17:16:12 IST 2023
2
- java.home=/private/var/folders/k4/74893875541dtbxdz44z6zbr0000gn/T/AppTranslocation/4A54960E-0028-414A-AF27-0F092C67D374/d/Android Studio.app/Contents/jbr/Contents/Home
File without changes
@@ -1,6 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="CompilerConfiguration">
4
- <bytecodeTargetLevel target="11" />
5
- </component>
6
- </project>
@@ -1,19 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="GradleMigrationSettings" migrationVersion="1" />
4
- <component name="GradleSettings">
5
- <option name="linkedExternalProjectsSettings">
6
- <GradleProjectSettings>
7
- <option name="testRunner" value="GRADLE" />
8
- <option name="externalProjectPath" value="$PROJECT_DIR$" />
9
- <option name="gradleJvm" value="Embedded JDK" />
10
- <option name="modules">
11
- <set>
12
- <option value="$PROJECT_DIR$" />
13
- </set>
14
- </option>
15
- <option name="resolveExternalAnnotations" value="false" />
16
- </GradleProjectSettings>
17
- </option>
18
- </component>
19
- </project>
@@ -1,10 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="ProjectMigrations">
4
- <option name="MigrateToGradleLocalJavaHome">
5
- <set>
6
- <option value="$PROJECT_DIR$" />
7
- </set>
8
- </option>
9
- </component>
10
- </project>
@@ -1,10 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="ExternalStorageConfigurationManager" enabled="true" />
4
- <component name="ProjectRootManager" version="2" languageLevel="JDK_11" project-jdk-name="11" project-jdk-type="JavaSDK">
5
- <output url="file://$PROJECT_DIR$/build/classes" />
6
- </component>
7
- <component name="ProjectType">
8
- <option name="id" value="Android" />
9
- </component>
10
- </project>
@@ -1,6 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="VcsDirectoryMappings">
4
- <mapping directory="$PROJECT_DIR$/.." vcs="Git" />
5
- </component>
6
- </project>
@@ -1,8 +0,0 @@
1
- ## This file must *NOT* be checked into Version Control Systems,
2
- # as it contains information specific to your local configuration.
3
- #
4
- # Location of the SDK. This is only used by Gradle.
5
- # For customization when using a Version Control System, please read the
6
- # header note.
7
- #Mon Dec 18 17:16:12 IST 2023
8
- sdk.dir=/Users/sramachandra/Library/Android/sdk