@convep_mobilogy/react-native-qms-plugin 1.5.2 → 1.6.1

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.
@@ -75,7 +75,7 @@ dependencies {
75
75
  implementation "com.facebook.react:react-android"
76
76
  implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
77
77
  implementation 'com.facebook.react:react-native:+'
78
- implementation "com.convep.qms:qms-plugin:1.21.2"
78
+ implementation "com.convep.qms:qms-plugin:1.23.0"
79
79
 
80
80
  implementation 'androidx.appcompat:appcompat:1.6.1'
81
81
 
@@ -332,29 +332,32 @@ static NSString * const kQmsRoutePayloadNotification = @"QmsRoutePayloadNotifica
332
332
  - (void)presentDeepLinkVC:(UIViewController *)destinationVC {
333
333
  if (!destinationVC) return;
334
334
 
335
- // Find the topmost presented VC to present from.
336
335
  UIViewController *presenter = self.dashboardVC;
337
336
  while (presenter.presentedViewController) {
338
337
  presenter = presenter.presentedViewController;
339
338
  }
340
339
 
341
- // Use the same slide-modal style the rest of the app uses.
340
+ // Wrap in nav controller so push-based deep links work correctly
341
+ UINavigationController *navVC = [[UINavigationController alloc] initWithRootViewController:destinationVC];
342
+ navVC.navigationBarHidden = YES; // hide if the VC has its own custom header
343
+
342
344
  Class delegateClass = NSClassFromString(@"QmsSlideModalTransitionDelegate");
343
345
  if (delegateClass && [delegateClass respondsToSelector:NSSelectorFromString(@"shared")]) {
344
346
  @try {
345
347
  id delegate = [delegateClass performSelector:NSSelectorFromString(@"shared")];
346
- destinationVC.modalPresentationStyle = UIModalPresentationCustom;
347
- destinationVC.transitioningDelegate = delegate;
348
+ navVC.modalPresentationStyle = UIModalPresentationCustom;
349
+ navVC.transitioningDelegate = delegate;
348
350
  } @catch (__unused NSException *e) {
349
- destinationVC.modalPresentationStyle = UIModalPresentationFullScreen;
351
+ navVC.modalPresentationStyle = UIModalPresentationFullScreen;
350
352
  }
351
353
  } else {
352
- destinationVC.modalPresentationStyle = UIModalPresentationFullScreen;
354
+ navVC.modalPresentationStyle = UIModalPresentationFullScreen;
353
355
  }
354
356
 
355
- [presenter presentViewController:destinationVC animated:YES completion:nil];
357
+ [presenter presentViewController:navVC animated:YES completion:nil];
356
358
  }
357
359
 
360
+
358
361
  /// Sets the standard project context properties on a VC using values from the
359
362
  /// notification payload. Covers the common projectCode/projectName/projectId
360
363
  /// naming used by AppointmentViewMoreViewController and IssuesViewController.
@@ -797,4 +800,4 @@ RCT_EXPORT_MODULE();
797
800
  [[NSNotificationCenter defaultCenter] removeObserver:self];
798
801
  }
799
802
 
800
- @end
803
+ @end
@@ -6,7 +6,7 @@
6
6
  <dict>
7
7
  <key>Assets.car</key>
8
8
  <data>
9
- RLxSWa0SdCdD0UzRC2O8Uk6OB/4=
9
+ fjJF2g7Dr6PYcAtKjkhFisFZtwo=
10
10
  </data>
11
11
  <key>Headers/QmsPlugin.h</key>
12
12
  <data>
@@ -46,7 +46,7 @@
46
46
  </data>
47
47
  <key>en.json</key>
48
48
  <data>
49
- 8lH3SDtm/3TmbvOKSzsNztM/1Hs=
49
+ l8iMksJDucFJaZofcOo2hrY21BY=
50
50
  </data>
51
51
  </dict>
52
52
  <key>files2</key>
@@ -55,7 +55,7 @@
55
55
  <dict>
56
56
  <key>hash2</key>
57
57
  <data>
58
- emgEEFMqkC3XNrYBtiEnm7l+pKxXSbDTPsyCOIVLYqY=
58
+ ruOPkgStvsoXTtWqWY1ZAjNWMXEpbI/trZfA6nErsP8=
59
59
  </data>
60
60
  </dict>
61
61
  <key>Headers/QmsPlugin.h</key>
@@ -118,7 +118,7 @@
118
118
  <dict>
119
119
  <key>hash2</key>
120
120
  <data>
121
- HHusKog1Vl1eVBBRxfMPpI3NHOSkBp0B+ue5N0Xvmxo=
121
+ Tre1koEy/eLKUy028iAGoeZpkLqlFEemmRHRbgjnGD8=
122
122
  </data>
123
123
  </dict>
124
124
  </dict>
@@ -619,7 +619,7 @@
619
619
  "FTL_ALERT_MESSAGE": "Please change your password to continue.",
620
620
  "SYNC_ALERT_MESSAGE": "You have some pending items that need to be synchronized.\nSync now?",
621
621
  "SYNC_AGAIN": "Sync Again",
622
- "UPLOADED_ON": "Uploaded On",
622
+ "UPLOADED_ON": "Uploaded on",
623
623
  "UPLOADED_COUNT": "Uploaded Count",
624
624
  "REASON_FAILED_TO_SUBMIT": "Reason Failed to Submit",
625
625
  "MAX_UNITS_ALERT_MESSAGE": "You have selected the maximum amount of units. Please remove a unit before adding a new one.",
@@ -742,7 +742,7 @@
742
742
  "SEARCH_UNITNAME": "Search Name or Unit Number...",
743
743
  "THIRDPARTYLINK": "3rd Party Link",
744
744
  "ADD": "Add",
745
- "ALL_ITEMS_DISPLAY": "All items displayed.",
745
+ "ALL_ITEMS_DISPLAY": "All items displayed",
746
746
  "ALERT_ENTER_LINK": "Please enter a link name.",
747
747
  "LINK_SUCCESS_CREATED": "3rd party link has been successfully created.",
748
748
  "ADD_LINK": "Add 3rd Party Link",
@@ -6,7 +6,7 @@
6
6
  <dict>
7
7
  <key>Assets.car</key>
8
8
  <data>
9
- RLxSWa0SdCdD0UzRC2O8Uk6OB/4=
9
+ fjJF2g7Dr6PYcAtKjkhFisFZtwo=
10
10
  </data>
11
11
  <key>Headers/QmsPlugin.h</key>
12
12
  <data>
@@ -46,7 +46,7 @@
46
46
  </data>
47
47
  <key>en.json</key>
48
48
  <data>
49
- 8lH3SDtm/3TmbvOKSzsNztM/1Hs=
49
+ l8iMksJDucFJaZofcOo2hrY21BY=
50
50
  </data>
51
51
  </dict>
52
52
  <key>files2</key>
@@ -55,7 +55,7 @@
55
55
  <dict>
56
56
  <key>hash2</key>
57
57
  <data>
58
- emgEEFMqkC3XNrYBtiEnm7l+pKxXSbDTPsyCOIVLYqY=
58
+ ruOPkgStvsoXTtWqWY1ZAjNWMXEpbI/trZfA6nErsP8=
59
59
  </data>
60
60
  </dict>
61
61
  <key>Headers/QmsPlugin.h</key>
@@ -118,7 +118,7 @@
118
118
  <dict>
119
119
  <key>hash2</key>
120
120
  <data>
121
- HHusKog1Vl1eVBBRxfMPpI3NHOSkBp0B+ue5N0Xvmxo=
121
+ Tre1koEy/eLKUy028iAGoeZpkLqlFEemmRHRbgjnGD8=
122
122
  </data>
123
123
  </dict>
124
124
  </dict>
@@ -619,7 +619,7 @@
619
619
  "FTL_ALERT_MESSAGE": "Please change your password to continue.",
620
620
  "SYNC_ALERT_MESSAGE": "You have some pending items that need to be synchronized.\nSync now?",
621
621
  "SYNC_AGAIN": "Sync Again",
622
- "UPLOADED_ON": "Uploaded On",
622
+ "UPLOADED_ON": "Uploaded on",
623
623
  "UPLOADED_COUNT": "Uploaded Count",
624
624
  "REASON_FAILED_TO_SUBMIT": "Reason Failed to Submit",
625
625
  "MAX_UNITS_ALERT_MESSAGE": "You have selected the maximum amount of units. Please remove a unit before adding a new one.",
@@ -742,7 +742,7 @@
742
742
  "SEARCH_UNITNAME": "Search Name or Unit Number...",
743
743
  "THIRDPARTYLINK": "3rd Party Link",
744
744
  "ADD": "Add",
745
- "ALL_ITEMS_DISPLAY": "All items displayed.",
745
+ "ALL_ITEMS_DISPLAY": "All items displayed",
746
746
  "ALERT_ENTER_LINK": "Please enter a link name.",
747
747
  "LINK_SUCCESS_CREATED": "3rd party link has been successfully created.",
748
748
  "ADD_LINK": "Add 3rd Party Link",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@convep_mobilogy/react-native-qms-plugin",
3
- "version": "1.5.2",
3
+ "version": "1.6.1",
4
4
  "description": "To handle defect managment",
5
5
  "main": "./lib/module/index.js",
6
6
  "types": "./lib/typescript/src/index.d.ts",