Skip to content

Commit

Permalink
config is on
Browse files Browse the repository at this point in the history
  • Loading branch information
hilat-autofleet committed Sep 2, 2024
1 parent 831fc4e commit 8c785f0
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 40 deletions.
2 changes: 2 additions & 0 deletions examples/client/Locomotion/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ apply plugin: 'com.google.firebase.crashlytics'

import com.android.build.OutputFile

apply from: project(':react-native-config').projectDir.getPath() + "/dotenv.gradle"
/*
* This is the configuration block to customize your React Native Android app.
* By default you don't need to apply any configuration, just uncomment the lines you need.
Expand Down Expand Up @@ -133,6 +134,7 @@ android {
buildTypes {
debug {
signingConfig signingConfigs.debug
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
}
release {
// Caution! In production, you need to generate your own keystore file.
Expand Down
2 changes: 2 additions & 0 deletions examples/client/Locomotion/android/app/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@
# http://developer.android.com/guide/developing/tools/proguard.html

# Add any project specific keep options here:

-keep class com.locomotion.BuildConfig { *; }
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools">
xmlns:tools="http://schemas.android.com/tools"
package="com.locomotion">

<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>

Expand Down
31 changes: 0 additions & 31 deletions examples/client/Locomotion/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 8 additions & 8 deletions examples/client/Locomotion/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -9425,10 +9425,10 @@ react-native-codegen@^0.71.3:
jscodeshift "^0.14.0"
nullthrows "^1.1.1"

react-native-config@^1.5.1:
version "1.5.1"
resolved "https://registry.npmjs.org/react-native-config/-/react-native-config-1.5.1.tgz"
integrity sha512-g1xNgt1tV95FCX+iWz6YJonxXkQX0GdD3fB8xQtR1GUBEqweB9zMROW77gi2TygmYmUkBI7LU4pES+zcTyK4HA==
react-native-config@^1.5.3:
version "1.5.3"
resolved "https://registry.npmjs.org/react-native-config/-/react-native-config-1.5.3.tgz"
integrity sha512-3D05Abgk5DfDw9w258EzXvX5AkU7eqj3u9H0H0L4gUga4nYg/zuupcrpGbpF4QeXBcJ84jjs6g8JaEP6VBT7Pg==

react-native-country-picker-modal@^2.0.0:
version "2.0.0"
Expand All @@ -9449,10 +9449,10 @@ react-native-date-picker@^4.2.6:
dependencies:
prop-types "^15.8.1"

react-native-device-info@^8.7.1:
version "8.7.1"
resolved "https://registry.npmjs.org/react-native-device-info/-/react-native-device-info-8.7.1.tgz"
integrity sha512-cVMZztFa2Qn6qpQa601W61CtUwZQ1KXfqCOeltejAWEXmgIWivC692WGSdtGudj4upSi1UgMSaGcvKjfcpdGjg==
react-native-device-info@^11.1.0:
version "11.1.0"
resolved "https://registry.npmjs.org/react-native-device-info/-/react-native-device-info-11.1.0.tgz"
integrity sha512-hzXJSObJdezEz0hF7MAJ3tGeoesuQWenXXt9mrQR9Mjb8kXpZ09rqSsZ/quNpJdZpQ3rYiFa3/0GFG5KNn9PBg==

react-native-draglist@^3.5.1:
version "3.5.1"
Expand Down

0 comments on commit 8c785f0

Please sign in to comment.