Skip to content

Commit 3ecf8e8

Browse files
authored
feat: Add isModalOpen parameter to renderImageComponent (#402)
1 parent c1929ed commit 3ecf8e8

File tree

37 files changed

+5100
-2975
lines changed

37 files changed

+5100
-2975
lines changed

Develop/Gemfile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ source 'https://rubygems.org'
33
# You may use http://rbenv.org/ or https://rvm.io/ to install and use this version
44
ruby ">= 2.6.10"
55

6-
# Cocoapods 1.15 introduced a bug which break the build. We will remove the upper
7-
# bound in the template on Cocoapods with next React Native release.
8-
gem 'cocoapods', '>= 1.13', '< 1.15'
9-
gem 'activesupport', '>= 6.1.7.5', '< 7.1.0'
6+
# Exclude problematic versions of cocoapods and activesupport that causes build failures.
7+
gem 'cocoapods', '>= 1.13', '!= 1.15.0', '!= 1.15.1'
8+
gem 'activesupport', '>= 6.1.7.5', '!= 7.1.0'

Develop/Gemfile.lock

Lines changed: 114 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
1+
GEM
2+
remote: https://rubygems.org/
3+
specs:
4+
CFPropertyList (3.0.7)
5+
base64
6+
nkf
7+
rexml
8+
activesupport (7.2.1.1)
9+
base64
10+
bigdecimal
11+
concurrent-ruby (~> 1.0, >= 1.3.1)
12+
connection_pool (>= 2.2.5)
13+
drb
14+
i18n (>= 1.6, < 2)
15+
logger (>= 1.4.2)
16+
minitest (>= 5.1)
17+
securerandom (>= 0.3)
18+
tzinfo (~> 2.0, >= 2.0.5)
19+
addressable (2.8.7)
20+
public_suffix (>= 2.0.2, < 7.0)
21+
algoliasearch (1.27.5)
22+
httpclient (~> 2.8, >= 2.8.3)
23+
json (>= 1.5.1)
24+
atomos (0.1.3)
25+
base64 (0.2.0)
26+
bigdecimal (3.1.8)
27+
claide (1.1.0)
28+
cocoapods (1.15.2)
29+
addressable (~> 2.8)
30+
claide (>= 1.0.2, < 2.0)
31+
cocoapods-core (= 1.15.2)
32+
cocoapods-deintegrate (>= 1.0.3, < 2.0)
33+
cocoapods-downloader (>= 2.1, < 3.0)
34+
cocoapods-plugins (>= 1.0.0, < 2.0)
35+
cocoapods-search (>= 1.0.0, < 2.0)
36+
cocoapods-trunk (>= 1.6.0, < 2.0)
37+
cocoapods-try (>= 1.1.0, < 2.0)
38+
colored2 (~> 3.1)
39+
escape (~> 0.0.4)
40+
fourflusher (>= 2.3.0, < 3.0)
41+
gh_inspector (~> 1.0)
42+
molinillo (~> 0.8.0)
43+
nap (~> 1.0)
44+
ruby-macho (>= 2.3.0, < 3.0)
45+
xcodeproj (>= 1.23.0, < 2.0)
46+
cocoapods-core (1.15.2)
47+
activesupport (>= 5.0, < 8)
48+
addressable (~> 2.8)
49+
algoliasearch (~> 1.0)
50+
concurrent-ruby (~> 1.1)
51+
fuzzy_match (~> 2.0.4)
52+
nap (~> 1.0)
53+
netrc (~> 0.11)
54+
public_suffix (~> 4.0)
55+
typhoeus (~> 1.0)
56+
cocoapods-deintegrate (1.0.5)
57+
cocoapods-downloader (2.1)
58+
cocoapods-plugins (1.0.0)
59+
nap
60+
cocoapods-search (1.0.1)
61+
cocoapods-trunk (1.6.0)
62+
nap (>= 0.8, < 2.0)
63+
netrc (~> 0.11)
64+
cocoapods-try (1.2.0)
65+
colored2 (3.1.2)
66+
concurrent-ruby (1.3.4)
67+
connection_pool (2.4.1)
68+
drb (2.2.1)
69+
escape (0.0.4)
70+
ethon (0.16.0)
71+
ffi (>= 1.15.0)
72+
ffi (1.17.0)
73+
fourflusher (2.3.1)
74+
fuzzy_match (2.0.4)
75+
gh_inspector (1.1.3)
76+
httpclient (2.8.3)
77+
i18n (1.14.6)
78+
concurrent-ruby (~> 1.0)
79+
json (2.7.2)
80+
logger (1.6.1)
81+
minitest (5.25.1)
82+
molinillo (0.8.0)
83+
nanaimo (0.3.0)
84+
nap (1.1.0)
85+
netrc (0.11.0)
86+
nkf (0.2.0)
87+
public_suffix (4.0.7)
88+
rexml (3.3.8)
89+
ruby-macho (2.5.1)
90+
securerandom (0.3.1)
91+
typhoeus (1.4.1)
92+
ethon (>= 0.9.0)
93+
tzinfo (2.0.6)
94+
concurrent-ruby (~> 1.0)
95+
xcodeproj (1.25.1)
96+
CFPropertyList (>= 2.3.3, < 4.0)
97+
atomos (~> 0.1.3)
98+
claide (>= 1.0.2, < 2.0)
99+
colored2 (~> 3.1)
100+
nanaimo (~> 0.3.0)
101+
rexml (>= 3.3.6, < 4.0)
102+
103+
PLATFORMS
104+
ruby
105+
106+
DEPENDENCIES
107+
activesupport (>= 6.1.7.5, != 7.1.0)
108+
cocoapods (>= 1.13, != 1.15.1, != 1.15.0)
109+
110+
RUBY VERSION
111+
ruby 3.1.2p20
112+
113+
BUNDLED WITH
114+
2.5.9

Develop/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ This is a new [**React Native**](https://reactnative.dev) project, bootstrapped
22

33
# Getting Started
44

5-
> **Note**: Make sure you have completed the [React Native - Environment Setup](https://reactnative.dev/docs/environment-setup) instructions till "Creating a new application" step, before proceeding.
5+
>**Note**: Make sure you have completed the [React Native - Environment Setup](https://reactnative.dev/docs/environment-setup) instructions till "Creating a new application" step, before proceeding.
66
77
## Step 1: Start the Metro Server
88

Develop/android/app/build.gradle

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ apply plugin: "com.facebook.react"
88
*/
99
react {
1010
/* Folders */
11-
// The root of your project, i.e. where "package.json" lives. Default is '..'
12-
// root = file("../")
13-
// The folder where the react-native NPM package is. Default is ../node_modules/react-native
14-
// reactNativeDir = file("../node_modules/react-native")
15-
// The folder where the react-native Codegen package is. Default is ../node_modules/@react-native/codegen
16-
// codegenDir = file("../node_modules/@react-native/codegen")
17-
// The cli.js file which is the React Native CLI entrypoint. Default is ../node_modules/react-native/cli.js
18-
// cliFile = file("../node_modules/react-native/cli.js")
11+
// The root of your project, i.e. where "package.json" lives. Default is '../..'
12+
// root = file("../../")
13+
// The folder where the react-native NPM package is. Default is ../../node_modules/react-native
14+
// reactNativeDir = file("../../node_modules/react-native")
15+
// The folder where the react-native Codegen package is. Default is ../../node_modules/@react-native/codegen
16+
// codegenDir = file("../../node_modules/@react-native/codegen")
17+
// The cli.js file which is the React Native CLI entrypoint. Default is ../../node_modules/react-native/cli.js
18+
// cliFile = file("../../node_modules/react-native/cli.js")
1919

2020
/* Variants */
2121
// The list of variants to that are debuggable. For those we're going to
@@ -49,6 +49,9 @@ react {
4949
//
5050
// The list of flags to pass to the Hermes compiler. By default is "-O", "-output-source-map"
5151
// hermesFlags = ["-O", "-output-source-map"]
52+
53+
/* Autolinking */
54+
autolinkLibrariesWithApp()
5255
}
5356

5457
/**
@@ -114,5 +117,3 @@ dependencies {
114117
implementation jscFlavor
115118
}
116119
}
117-
118-
apply from: file("../../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesAppBuildGradle(project)

Develop/android/app/src/main/AndroidManifest.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
android:icon="@mipmap/ic_launcher"
99
android:roundIcon="@mipmap/ic_launcher_round"
1010
android:allowBackup="false"
11-
android:theme="@style/AppTheme">
11+
android:theme="@style/AppTheme"
12+
android:supportsRtl="true">
1213
<activity
1314
android:name=".MainActivity"
1415
android:label="@string/app_name"

Develop/android/app/src/main/java/com/develop/MainActivity.kt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import com.facebook.react.ReactActivity
44
import com.facebook.react.ReactActivityDelegate
55
import com.facebook.react.defaults.DefaultNewArchitectureEntryPoint.fabricEnabled
66
import com.facebook.react.defaults.DefaultReactActivityDelegate
7-
import android.os.Bundle;
87

98
class MainActivity : ReactActivity() {
109

@@ -20,8 +19,4 @@ class MainActivity : ReactActivity() {
2019
*/
2120
override fun createReactActivityDelegate(): ReactActivityDelegate =
2221
DefaultReactActivityDelegate(this, mainComponentName, fabricEnabled)
23-
24-
override fun onCreate(savedInstanceState: Bundle?) {
25-
super.onCreate(null)
26-
}
2722
}

Develop/android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ buildscript {
55
compileSdkVersion = 34
66
targetSdkVersion = 34
77
ndkVersion = "26.1.10909125"
8-
kotlinVersion = "1.9.22"
8+
kotlinVersion = "1.9.24"
99
}
1010
repositories {
1111
google()

Develop/android/gradle.properties

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ org.gradle.jvmargs=-Xmx2048m -XX:MaxMetaspaceSize=512m
2121
# Android operating system, and which are packaged with your app's APK
2222
# https://developer.android.com/topic/libraries/support-library/androidx-rn
2323
android.useAndroidX=true
24-
# Automatically convert third-party libraries to use AndroidX
25-
android.enableJetifier=true
2624

2725
# Use this property to specify which architecture you want to build.
2826
# You can also override it from the CLI using
-19.8 KB
Binary file not shown.

Develop/android/gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-all.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-all.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

0 commit comments

Comments
 (0)