react-native-bootsplash 4.7.3 → 4.7.5

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.
@@ -3,23 +3,24 @@ require "json"
3
3
  package = JSON.parse(File.read(File.join(__dir__, "package.json")))
4
4
 
5
5
  Pod::Spec.new do |s|
6
- s.name = "RNBootSplash"
6
+ s.name = "RNBootSplash"
7
7
 
8
- s.version = package["version"]
9
- s.license = package["license"]
10
- s.summary = package["description"]
11
- s.author = package["author"]
12
- s.homepage = package["homepage"]
8
+ s.version = package["version"]
9
+ s.license = package["license"]
10
+ s.summary = package["description"]
11
+ s.author = package["author"]
12
+ s.homepage = package["homepage"]
13
13
 
14
- s.platforms = { :ios => "11.0", :tvos => "11.0" }
15
- s.requires_arc = true
14
+ s.requires_arc = true
16
15
 
17
- s.source = { :git => package["repository"]["url"], :tag => s.version }
18
- s.source_files = "ios/**/*.{h,m,mm}"
16
+ s.source = { :git => package["repository"]["url"], :tag => s.version }
17
+ s.source_files = "ios/**/*.{h,m,mm}"
19
18
 
20
19
  if ENV['RCT_NEW_ARCH_ENABLED'] == '1' then
21
20
  install_modules_dependencies(s)
21
+ s.platforms = { :ios => "12.4", :tvos => "12.4" }
22
22
  else
23
- s.dependency "React-Core"
23
+ s.dependency "React-Core"
24
+ s.platforms = { :ios => "11.0", :tvos => "11.0" }
24
25
  end
25
26
  end
@@ -22,9 +22,12 @@ if (isNewArchitectureEnabled()) {
22
22
  }
23
23
 
24
24
  android {
25
- namespace = "com.zoontek.rnbootsplash"
26
25
  buildToolsVersion safeExtGet("buildToolsVersion", "33.0.0")
27
26
  compileSdkVersion safeExtGet("compileSdkVersion", 33)
27
+
28
+ if (project.android.hasProperty("namespace")) {
29
+ namespace "com.zoontek.rnbootsplash"
30
+ }
28
31
  defaultConfig {
29
32
  buildConfigField("boolean", "IS_NEW_ARCHITECTURE_ENABLED", isNewArchitectureEnabled().toString())
30
33
  minSdkVersion safeExtGet("minSdkVersion", 21)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-bootsplash",
3
- "version": "4.7.3",
3
+ "version": "4.7.5",
4
4
  "license": "MIT",
5
5
  "description": "Display a bootsplash on your app starts. Hide it when you want.",
6
6
  "author": "Mathieu Acthernoene <zoontek@gmail.com>",
@@ -69,14 +69,14 @@
69
69
  "@types/fs-extra": "^11.0.1",
70
70
  "@types/react": "^18.2.14",
71
71
  "@types/sharp": "^0.31.1",
72
- "lint-staged": "^13.2.2",
72
+ "lint-staged": "^13.2.3",
73
73
  "prettier": "^2.8.8",
74
74
  "prettier-plugin-organize-imports": "^3.2.2",
75
75
  "react": "18.2.0",
76
- "react-native": "0.72.0",
77
- "react-native-builder-bob": "^0.20.4",
76
+ "react-native": "0.72.1",
77
+ "react-native-builder-bob": "^0.21.2",
78
78
  "rescript": "^10.1.4",
79
- "typescript": "^5.1.3"
79
+ "typescript": "^5.1.6"
80
80
  },
81
81
  "codegenConfig": {
82
82
  "name": "RNBootSplashSpec",
@@ -1,6 +1,3 @@
1
- const path = require("path");
2
- const { generate } = require("./dist/commonjs/generate");
3
-
4
1
  module.exports = {
5
2
  commands: [
6
3
  {
@@ -45,6 +42,9 @@ module.exports = {
45
42
  { project: { android, ios } },
46
43
  { backgroundColor, logoWidth, assetsPath, flavor, platforms },
47
44
  ) => {
45
+ const path = require("path");
46
+ const { generate } = require("./dist/commonjs/generate");
47
+
48
48
  const workingPath =
49
49
  process.env.INIT_CWD || process.env.PWD || process.cwd();
50
50
 
package/android/.DS_Store DELETED
Binary file
@@ -1,11 +0,0 @@
1
- .gradle/
2
- .idea/
3
- build/
4
- gradle/
5
-
6
- .DS_Store
7
- .npmignore
8
- gradlew
9
- gradlew.bat
10
- *.iml
11
- local.properties
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
package/ios/.DS_Store DELETED
Binary file
package/ios/.npmignore DELETED
@@ -1,8 +0,0 @@
1
- Pods/
2
- build/
3
-
4
- */project.xcworkspace/
5
- */xcuserdata/
6
-
7
- .DS_Store
8
- .npmignore