Skip to content
Open
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
6 changes: 4 additions & 2 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ dependencies {
implementation "com.facebook.react:react-native:+" // From node_modules

// For Java
implementation 'androidx.work:work-runtime:2.7.1'
implementation 'androidx.work:work-runtime:2.7.1'

// For Kotlin
implementation 'androidx.work:work-runtime-ktx:2.7.1'
Expand All @@ -245,6 +245,8 @@ dependencies {

implementation 'com.facebook.soloader:soloader:0.9.0+'

implementation 'com.facebook.android:facebook-android-sdk:latest.release'

debugImplementation("com.facebook.flipper:flipper:${FLIPPER_VERSION}") {
exclude group:'com.facebook.fbjni'
}
Expand Down Expand Up @@ -278,4 +280,4 @@ task wrapper(type: Wrapper) {
}

apply from: file("../../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesAppBuildGradle(project)
apply from: "../../node_modules/react-native-code-push/android/codepush.gradle"
apply from: "../../node_modules/react-native-code-push/android/codepush.gradle"
11 changes: 7 additions & 4 deletions android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,14 @@
android:icon="@mipmap/ic_launcher"
android:roundIcon="@mipmap/ic_launcher_round"
android:allowBackup="true"
android:theme="@style/AppTheme">
<meta-data
android:theme="@style/AppTheme"
>
<meta-data
android:name="com.google.android.geo.API_KEY"
android:value="@string/GOOGLE_MAP_API_KEY_ANDROID" />
<uses-library android:name="org.apache.http.legacy" android:required="false" />
android:value="@string/GOOGLE_MAP_API_KEY_ANDROID"
/>
<meta-data android:name="com.facebook.sdk.ApplicationId" android:value="@string/FACEBOOK_API_ID"/>
<uses-library android:name="org.apache.http.legacy" android:required="false" />
<activity
android:name=".MainActivity"
android:label="@string/app_name"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import com.facebook.react.ReactRootView;
import org.devio.rn.splashscreen.SplashScreen;


public class MainActivity extends ReactActivity {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
import java.util.List;
import com.facebook.react.views.text.ReactFontManager;
import com.microsoft.codepush.react.CodePush;
import com.facebook.FacebookSdk;

public class MainApplication extends Application implements ReactApplication {

Expand Down
1 change: 1 addition & 0 deletions android/app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<resources>
<string name="app_name">대동빵지도</string>
<string name="kakao_app_key">@string/KAKAO_NATIVE_APP_KEY</string>
<string name="facebook_app_id">@string/FACEBOOK_API_ID</string>
</resources>