Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updated_react_native_version_0.7.0 #123

Draft
wants to merge 1 commit into
base: reactnative/release-2.2.34
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion source/community/reactnative/android/app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
apply plugin: "com.android.application"

import com.android.build.OutputFile
import org.apache.tools.ant.taskdefs.condition.Os
apply plugin: "com.facebook.react"
// import org.apache.tools.ant.taskdefs.condition.Os

/**
* The react.gradle file registers a task for each build variant (e.g. bundleDebugJsAndAssets
Expand Down
6 changes: 3 additions & 3 deletions source/community/reactnative/android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import org.apache.tools.ant.taskdefs.condition.Os
// import org.apache.tools.ant.taskdefs.condition.Os


// Top-level build file where you can add configuration options common to all sub-projects/modules.
Expand All @@ -7,8 +7,8 @@ buildscript {
ext {
buildToolsVersion = "29.0.2"
minSdkVersion = 21
compileSdkVersion = 29
targetSdkVersion = 29
compileSdkVersion = 31
targetSdkVersion = 31

if (System.properties['os.arch'] == "aarch64") {
// For M1 Users we need to use the NDK 24 which added support for aarch64
Expand Down
3 changes: 2 additions & 1 deletion source/community/reactnative/android/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,5 @@ reactNativeArchitectures=armeabi-v7a,arm64-v8a,x86,x86_64
# your application. You should enable this flag either if you want
# to write custom TurboModules/Fabric components OR use libraries that
# are providing them.
newArchEnabled=false
newArchEnabled=false

Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-all.zip
# distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-all.zip

10 changes: 7 additions & 3 deletions source/community/reactnative/ios/Podfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
require_relative '../node_modules/react-native/scripts/react_native_pods'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'

platform :ios, '11.0'
platform :ios, '12.4'


target 'RNAdaptiveCards' do
config = use_native_modules!

use_react_native!(:path => config["reactNativePath"])

use_react_native!(
:path => config[:reactNativePath],

)

target 'RNAdaptiveCardsTests' do
inherit! :complete
Expand Down
Loading