Skip to content

Commit

Permalink
v13.17.0
Browse files Browse the repository at this point in the history
  • Loading branch information
robertying committed Dec 11, 2022
1 parent 90ea945 commit b02e0d0
Show file tree
Hide file tree
Showing 9 changed files with 36 additions and 58 deletions.
40 changes: 15 additions & 25 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,16 @@ apply plugin: "com.android.application"
import com.android.build.OutputFile

project.ext.react = [
enableHermes: true,
enableHermes: true
]
project.ext.vectoricons = [
iconFontNames: ["MaterialIcons.ttf", "MaterialCommunityIcons.ttf"]
iconFontNames: ["MaterialIcons.ttf", "MaterialCommunityIcons.ttf"]
]

apply from: "../../node_modules/react-native/react.gradle"
apply from: "../../node_modules/react-native-vector-icons/fonts.gradle"
apply from: "../../node_modules/react-native-code-push/android/codepush.gradle"

def enableSeparateBuildPerCPUArchitecture = true
def enableProguardInReleaseBuilds = true

def jscFlavor = "org.webkit:android-jsc:+"
def enableHermes = project.ext.react.get("enableHermes", true);

def reactNativeArchitectures() {
def value = project.getProperties().get("reactNativeArchitectures")
return value ? value.split(",") : ["armeabi-v7a", "x86", "x86_64", "arm64-v8a"]
Expand All @@ -42,8 +36,8 @@ android {
applicationId "io.robertying.learnx"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 9202351
versionName "13.16.0"
versionCode 9202360
versionName "13.17.0"
buildConfigField "boolean", "IS_NEW_ARCHITECTURE_ENABLED", isNewArchitectureEnabled().toString()

if (isNewArchitectureEnabled()) {
Expand Down Expand Up @@ -101,11 +95,12 @@ android {
splits {
abi {
reset()
enable enableSeparateBuildPerCPUArchitecture
enable true
universalApk true
include(*reactNativeArchitectures())
}
}

signingConfigs {
debug {
storeFile file("debug.keystore")
Expand All @@ -126,13 +121,14 @@ android {
keyPassword properties.getProperty("LEARNX_RELEASE_KEY_PASSWORD")
}
}

buildTypes {
debug {
signingConfig signingConfigs.debug
}
release {
signingConfig signingConfigs.release
minifyEnabled enableProguardInReleaseBuilds
minifyEnabled true
proguardFiles getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro"
}
}
Expand All @@ -151,23 +147,17 @@ android {
}

dependencies {
implementation fileTree(dir: "libs", include: ["*.jar"])

//noinspection GradleDynamicVersion
implementation "com.facebook.react:react-native:+"

implementation "com.google.android.material:material:1.7.0"
implementation "androidx.lifecycle:lifecycle-viewmodel:2.5.0"
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.5.0"

if (enableHermes) {
//noinspection GradleDynamicVersion
implementation("com.facebook.react:hermes-engine:+") {
exclude group: "com.facebook.fbjni"
}
} else {
implementation jscFlavor
//noinspection GradleDynamicVersion
implementation("com.facebook.react:hermes-engine:+") {
exclude group: "com.facebook.fbjni"
}

implementation "com.google.android.material:material:1.7.0"
implementation "androidx.lifecycle:lifecycle-viewmodel:2.5.1"
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.5.1"
}

if (isNewArchitectureEnabled()) {
Expand Down
6 changes: 3 additions & 3 deletions android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
buildscript {
ext {
buildToolsVersion = "33.0.0"
buildToolsVersion = "33.0.1"
minSdkVersion = 28
compileSdkVersion = 33
targetSdkVersion = 33
ndkVersion = "25.1.8937393"
cmakeVersion = "3.22.1"
kotlinVersion = "1.7.20"
kotlinVersion = "1.7.21"
}
repositories {
google()
Expand Down Expand Up @@ -41,7 +41,7 @@ subprojects { subproject ->
afterEvaluate {
if (subproject.hasProperty("android")) {
android {
buildToolsVersion "33.0.0"
buildToolsVersion "33.0.1"
compileSdkVersion 33
ndkVersion "25.1.8937393"
externalNativeBuild {
Expand Down
Binary file modified android/gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
3 changes: 2 additions & 1 deletion android/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-bin.zip
networkTimeout=10000
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
12 changes: 8 additions & 4 deletions android/gradlew
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
# Darwin, MinGW, and NonStop.
#
# (3) This script is generated from the Groovy template
# https://github.com/gradle/gradle/blob/master/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
# https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
# within the Gradle project.
#
# You can find Gradle at https://github.com/gradle/gradle/.
Expand All @@ -80,10 +80,10 @@ do
esac
done

APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit

APP_NAME="Gradle"
# This is normally unused
# shellcheck disable=SC2034
APP_BASE_NAME=${0##*/}
APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit

# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
Expand Down Expand Up @@ -143,12 +143,16 @@ fi
if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then
case $MAX_FD in #(
max*)
# In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked.
# shellcheck disable=SC3045
MAX_FD=$( ulimit -H -n ) ||
warn "Could not query maximum file descriptor limit"
esac
case $MAX_FD in #(
'' | soft) :;; #(
*)
# In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked.
# shellcheck disable=SC3045
ulimit -n "$MAX_FD" ||
warn "Could not set maximum file descriptor limit to $MAX_FD"
esac
Expand Down
1 change: 1 addition & 0 deletions android/gradlew.bat
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ if "%OS%"=="Windows_NT" setlocal

set DIRNAME=%~dp0
if "%DIRNAME%"=="" set DIRNAME=.
@rem This is normally unused
set APP_BASE_NAME=%~n0
set APP_HOME=%DIRNAME%

Expand Down
16 changes: 6 additions & 10 deletions ios/learnX.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -317,11 +317,10 @@
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = learnX/learnX.entitlements;
CODE_SIGN_IDENTITY = "Apple Development";
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 2351;
CURRENT_PROJECT_VERSION = 2360;
DEAD_CODE_STRIPPING = YES;
DEVELOPMENT_TEAM = QX9PZ6H89F;
DEVELOPMENT_TEAM = G896QC26MC;
ENABLE_BITCODE = NO;
INFOPLIST_FILE = learnX/Info.plist;
INFOPLIST_KEY_CFBundleDisplayName = learnX;
Expand All @@ -336,7 +335,7 @@
"$(SDKROOT)/System/iOSSupport/usr/lib/swift",
"$(inherited)",
);
MARKETING_VERSION = 13.16.0;
MARKETING_VERSION = 13.17.0;
OTHER_LDFLAGS = (
"$(inherited)",
"-ObjC",
Expand All @@ -347,7 +346,6 @@
PRODUCT_BUNDLE_IDENTIFIER = io.robertying.learnX;
PRODUCT_NAME = learnX;
PROVISIONING_PROFILE_SPECIFIER = "";
"PROVISIONING_PROFILE_SPECIFIER[sdk=macosx*]" = "";
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
SUPPORTS_MACCATALYST = YES;
SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO;
Expand All @@ -366,11 +364,10 @@
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = learnX/learnX.entitlements;
CODE_SIGN_IDENTITY = "Apple Development";
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 2351;
CURRENT_PROJECT_VERSION = 2360;
DEAD_CODE_STRIPPING = YES;
DEVELOPMENT_TEAM = QX9PZ6H89F;
DEVELOPMENT_TEAM = G896QC26MC;
INFOPLIST_FILE = learnX/Info.plist;
INFOPLIST_KEY_CFBundleDisplayName = learnX;
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.utilities";
Expand All @@ -384,7 +381,7 @@
"$(SDKROOT)/System/iOSSupport/usr/lib/swift",
"$(inherited)",
);
MARKETING_VERSION = 13.16.0;
MARKETING_VERSION = 13.17.0;
OTHER_LDFLAGS = (
"$(inherited)",
"-ObjC",
Expand All @@ -395,7 +392,6 @@
PRODUCT_BUNDLE_IDENTIFIER = io.robertying.learnX;
PRODUCT_NAME = learnX;
PROVISIONING_PROFILE_SPECIFIER = "";
"PROVISIONING_PROFILE_SPECIFIER[sdk=macosx*]" = "";
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
SUPPORTS_MACCATALYST = YES;
SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO;
Expand Down
14 changes: 0 additions & 14 deletions ios/learnX/learnX.entitlements
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,6 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.developer.icloud-container-identifiers</key>
<array>
<string>iCloud.io.robertying.learnX</string>
</array>
<key>com.apple.developer.icloud-services</key>
<array>
<string>CloudDocuments</string>
</array>
<key>com.apple.developer.ubiquity-container-identifiers</key>
<array>
<string>iCloud.io.robertying.learnX</string>
</array>
<key>com.apple.developer.ubiquity-kvstore-identifier</key>
<string>$(TeamIdentifierPrefix)$(CFBundleIdentifier)</string>
<key>com.apple.security.app-sandbox</key>
<true/>
<key>com.apple.security.files.user-selected.read-only</key>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "learnX",
"version": "13.16.0",
"version": "13.17.0",
"private": true,
"scripts": {
"postinstall": "patch-package && chmod +x scripts/fix_react_native_interactable.sh && ./scripts/fix_react_native_interactable.sh",
Expand Down

0 comments on commit b02e0d0

Please sign in to comment.