react-native-navigation 7.40.0 → 7.40.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.
@@ -21,6 +21,7 @@ def kotlinVersion = safeExtGet("RNNKotlinVersion", DEFAULT_KOTLIN_VERSION)
21
21
  def kotlinStdlib = safeExtGet('RNNKotlinStdlib',DEFAULT_KOTLIN_STDLIB )
22
22
  def kotlinCoroutinesCore = safeExtGet('RNNKotlinCoroutinesCore', '1.5.2')
23
23
  android {
24
+ namespace 'com.reactnativenavigation'
24
25
  compileSdkVersion safeExtGetFallbackLowerBound('compileSdkVersion', DEFAULT_COMPILE_SDK_VERSION)
25
26
  buildToolsVersion = "34.0.0"
26
27
  defaultConfig {
@@ -62,8 +63,13 @@ android {
62
63
  }
63
64
  }
64
65
  compileOptions {
65
- sourceCompatibility JavaVersion.VERSION_1_8
66
- targetCompatibility JavaVersion.VERSION_1_8
66
+ if (reactNativeMinorVersion() >= 73) {
67
+ sourceCompatibility JavaVersion.VERSION_17
68
+ targetCompatibility JavaVersion.VERSION_17
69
+ } else {
70
+ sourceCompatibility JavaVersion.VERSION_1_8
71
+ targetCompatibility JavaVersion.VERSION_1_8
72
+ }
67
73
  }
68
74
  kotlinOptions {
69
75
  if (reactNativeMinorVersion() >= 73) {
@@ -1,6 +1,5 @@
1
1
  <manifest xmlns:android="http://schemas.android.com/apk/res/android"
2
- xmlns:tools="http://schemas.android.com/tools"
3
- package="com.reactnativenavigation">
2
+ xmlns:tools="http://schemas.android.com/tools">
4
3
 
5
4
  <application>
6
5
  <activity
@@ -7,7 +7,9 @@
7
7
  [bottomTabsController.selectedViewController setReactViewReadyCallback:^{
8
8
  [bottomTabsController readyForPresentation];
9
9
  for (UIViewController *viewController in bottomTabsController.deselectedViewControllers) {
10
+ dispatch_async(dispatch_get_main_queue(), ^{
10
11
  [viewController render];
12
+ });
11
13
  }
12
14
  }];
13
15
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-navigation",
3
- "version": "7.40.0",
3
+ "version": "7.40.1",
4
4
  "description": "React Native Navigation - truly native navigation for iOS and Android",
5
5
  "license": "MIT",
6
6
  "nativePackage": true,