Skip to content

Commit

Permalink
iOS and Android 0.12.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
jeyasankar committed Apr 16, 2024
1 parent 3b72a2b commit 831575d
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 25 deletions.
40 changes: 25 additions & 15 deletions android/app/build.gradle
Expand Up @@ -112,29 +112,39 @@ android {
keyPassword 'android'
}
//TODO: (Custom-Jey) Added for release time upload key
// This is for Google store upload
release {
if (project.hasProperty('OKP_APP_UPLOAD_STORE_FILE')) {
storeFile file(OKP_APP_UPLOAD_STORE_FILE)
storePassword OKP_APP_UPLOAD_STORE_PASSWORD
keyAlias OKP_APP_UPLOAD_KEY_ALIAS
keyPassword OKP_APP_UPLOAD_KEY_PASSWORD
}
}

//TODO: (Custom-Jey) Added for release time APK build key
// Uncomment this release only for APK build
// release {
// if (project.hasProperty('OKP_APP_UPLOAD_STORE_FILE')) {
// storeFile file(OKP_APP_UPLOAD_STORE_FILE)
// storePassword OKP_APP_UPLOAD_STORE_PASSWORD
// keyAlias OKP_APP_UPLOAD_KEY_ALIAS
// keyPassword OKP_APP_UPLOAD_KEY_PASSWORD
// if (project.hasProperty('OKP_APP_APK_STORE_FILE')) {
// storeFile file(OKP_APP_APK_STORE_FILE)
// storePassword OKP_APP_APK_STORE_PASSWORD
// keyAlias OKP_APP_APK_KEY_ALIAS
// keyPassword OKP_APP_APK_KEY_PASSWORD
// }
// }
}
buildTypes {
debug {
signingConfig signingConfigs.debug
}
// release {
// // Caution! In production, you need to generate your own keystore file.
// // see https://reactnative.dev/docs/signed-apk-android.
// // Uncomment this for development after commenting out the following one for release
// signingConfig signingConfigs.debug
// // TODO: (Custom-Jey) Changed to signingConfig signingConfigs.release
// // signingConfig signingConfigs.release
// minifyEnabled enableProguardInReleaseBuilds
// proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
// }
release {
// Caution! In production, you need to generate your own keystore file.
// see https://reactnative.dev/docs/signed-apk-android.
// TODO: (Custom-Jey) Changed to signingConfig signingConfigs.release
signingConfig signingConfigs.release
minifyEnabled enableProguardInReleaseBuilds
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
}
}
}

Expand Down
4 changes: 3 additions & 1 deletion android/gradle.properties
Expand Up @@ -27,7 +27,9 @@ android.enableJetifier=true
# Use this property to specify which architecture you want to build.
# You can also override it from the CLI using
# ./gradlew <task> -PreactNativeArchitectures=x86_64
reactNativeArchitectures=armeabi-v7a,arm64-v8a,x86,x86_64
# reactNativeArchitectures=armeabi-v7a,arm64-v8a,x86,x86_64

reactNativeArchitectures=armeabi-v7a,arm64-v8a

# Use this property to enable support to the new architecture.
# This will allow you to use TurboModules and the Fabric render in
Expand Down
Expand Up @@ -41,7 +41,7 @@
</Testables>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
buildConfiguration = "Release"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
Expand Down
21 changes: 13 additions & 8 deletions react-native.config.js
@@ -1,9 +1,14 @@
module.exports = {
dependencies: {
'react-native-vector-icons': {
platforms: {
ios: null,
},
},
},
};
dependencies: {
'react-native-vector-icons': {
platforms: {
ios: null,
},
},
'react-native-device-info': {
platforms: {
android: null,
},
},
},
};

0 comments on commit 831575d

Please sign in to comment.