@propel-nsl/propel-react-native-sdk 1.0.5 → 1.1.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.
- package/package.json +1 -1
- package/src/SDKApp.tsx +3 -1
package/package.json
CHANGED
package/src/SDKApp.tsx
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
import React, { useEffect, useState } from 'react';
|
|
9
|
-
import { CommonActions, NavigationContainer, useNavigationContainerRef } from '@react-navigation/native';
|
|
9
|
+
import { CommonActions, NavigationContainer, NavigationIndependentTree, useNavigationContainerRef } from '@react-navigation/native';
|
|
10
10
|
import { Provider } from 'react-redux';
|
|
11
11
|
import { SafeAreaProvider } from 'react-native-safe-area-context';
|
|
12
12
|
import { GestureHandlerRootView } from 'react-native-gesture-handler';
|
|
@@ -525,6 +525,7 @@ const SDKApp: React.FC<any> = (props) => {
|
|
|
525
525
|
onClose={onClose}
|
|
526
526
|
>
|
|
527
527
|
<SafeAreaProvider>
|
|
528
|
+
<NavigationIndependentTree>
|
|
528
529
|
<NavigationContainer
|
|
529
530
|
key={navigationKey}
|
|
530
531
|
ref={navigationRef}
|
|
@@ -550,6 +551,7 @@ const SDKApp: React.FC<any> = (props) => {
|
|
|
550
551
|
initialRouteOverride={deepLinkTargetValue}
|
|
551
552
|
/>
|
|
552
553
|
</NavigationContainer>
|
|
554
|
+
</NavigationIndependentTree>
|
|
553
555
|
<Toast
|
|
554
556
|
config={toastConfig}
|
|
555
557
|
topOffset={Platform.OS === 'ios' ? 60 : 40}
|