Skip to content
This repository has been archived by the owner on Mar 8, 2024. It is now read-only.

Deploy android #42

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
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
9 changes: 8 additions & 1 deletion KukaApp/android/app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
apply plugin: "com.android.application"
apply plugin: 'com.google.gms.google-services'

import com.android.build.OutputFile

Expand Down Expand Up @@ -78,7 +79,7 @@ import com.android.build.OutputFile
*/

project.ext.react = [
enableHermes: false, // clean and rebuild if changing
enableHermes: false, // clean and rebuild if changing
]

apply from: "../../node_modules/react-native/react.gradle"
Expand Down Expand Up @@ -195,6 +196,12 @@ dependencies {

implementation "androidx.swiperefreshlayout:swiperefreshlayout:1.0.0"

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

implementation platform('com.google.firebase:firebase-bom:29.3.1')

implementation 'com.google.firebase:firebase-analytics'

debugImplementation("com.facebook.flipper:flipper:${FLIPPER_VERSION}") {
exclude group:'com.facebook.fbjni'
}
Expand Down
47 changes: 47 additions & 0 deletions KukaApp/android/app/google-services.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"project_info": {
"project_number": "921635578637",
"firebase_url": "https://kuka-dev.firebaseio.com",
"project_id": "kuka-dev",
"storage_bucket": "kuka-dev.appspot.com"
},
"client": [
{
"client_info": {
"mobilesdk_app_id": "1:921635578637:android:d82bcf3f83f333bf7ac644",
"android_client_info": {
"package_name": "org.codeforhawaii.kuka"
}
},
"oauth_client": [
{
"client_id": "921635578637-6ougl5t2glp64h5jumno7bmjj51525dc.apps.googleusercontent.com",
"client_type": 3
}
],
"api_key": [
{
"current_key": "AIzaSyDrMDFsj8HtsCJ3bLar5sVgRrtB7QT1-ZM"
}
],
"services": {
"appinvite_service": {
"other_platform_oauth_client": [
{
"client_id": "921635578637-6ougl5t2glp64h5jumno7bmjj51525dc.apps.googleusercontent.com",
"client_type": 3
},
{
"client_id": "921635578637-ma0i915tikp1q0v9q9gmfuefvd8grom6.apps.googleusercontent.com",
"client_type": 2,
"ios_info": {
"bundle_id": "org.codeforhawaii.kukadev"
}
}
]
}
}
}
],
"configuration_version": "1"
}
39 changes: 21 additions & 18 deletions KukaApp/android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,27 +1,30 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.codeforhawaii.kuka">
package="org.codeforhawaii.kuka">

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

<application
android:name=".MainApplication"
android:label="@string/app_name"
android:icon="@mipmap/ic_launcher"
android:roundIcon="@mipmap/ic_launcher_round"
android:allowBackup="false"
android:theme="@style/AppTheme">
<activity
android:name=".MainActivity"
android:name=".MainApplication"
android:label="@string/app_name"
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode"
android:launchMode="singleTask"
android:windowSoftInputMode="adjustResize">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name="com.facebook.react.devsupport.DevSettingsActivity" />
android:icon="@mipmap/ic_launcher"
android:roundIcon="@mipmap/ic_launcher_round"
android:allowBackup="false"
android:theme="@style/AppTheme">
<meta-data android:name="com.facebook.sdk.ApplicationId" android:value="@string/facebook_app_id"/>
<meta-data android:name="com.facebook.sdk.ClientToken" android:value="@string/facebook_client_token"/>
<activity
android:name=".MainActivity"
android:label="@string/app_name"
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode"
android:launchMode="singleTask"
android:windowSoftInputMode="adjustResize">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name="com.facebook.react.devsupport.DevSettingsActivity" />
</application>
<uses-permission android:name="android.permission.INTERNET"/>

</manifest>
6 changes: 6 additions & 0 deletions KukaApp/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ buildscript {
}
dependencies {
classpath("com.android.tools.build:gradle:4.2.2")
classpath 'com.google.gms:google-services:4.3.10'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
Expand All @@ -38,5 +39,10 @@ allprojects {
}
google()
maven { url 'https://www.jitpack.io' }
jcenter(){
content {
includeModule("com.yqritc", "android-scalablevideoview")
}
}
}
}