Skip to content

Commit

Permalink
Merge pull request #1 from openforge/android-fixes
Browse files Browse the repository at this point in the history
Android fixes
  • Loading branch information
hscheuerle authored May 28, 2020
2 parents 370449a + cb682d2 commit d10dc00
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 3 deletions.
9 changes: 9 additions & 0 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ android {
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
lintOptions {
abortOnError false
}
Expand All @@ -49,4 +53,9 @@ dependencies {
testImplementation "junit:junit:$junitVersion"
androidTestImplementation "androidx.test.ext:junit:$androidxJunitVersion"
androidTestImplementation "androidx.test.espresso:espresso-core:$androidxEspressoCoreVersion"
implementation 'androidx.appcompat:appcompat:1.0.0'
implementation 'com.google.firebase:firebase-analytics:17.2.0'
implementation 'com.google.firebase:firebase-auth:19.2.0'
implementation 'com.google.android.gms:play-services-auth:17.0.0'
implementation 'com.google.android.gms:play-services-games:19.0.0'
}
2 changes: 1 addition & 1 deletion android/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="io.openforge.game-services.capacitorgameservices">
package="io.openforge.gameservices.capacitorgameservices">
</manifest>

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.startupwarsapp.startupwars;
package io.openforge.gameservices;

import com.getcapacitor.JSObject;
import com.getcapacitor.NativePlugin;
Expand Down Expand Up @@ -36,6 +36,8 @@
import com.google.firebase.auth.GoogleAuthProvider;
import com.google.firebase.auth.PlayGamesAuthProvider;

import io.openforge.gameservices.capacitorgameservices.R;

/**
* GameServices plugin
*/
Expand Down
1 change: 1 addition & 0 deletions android/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<resources>
<string name="my_string">Just a simple string</string>
<string name="default_web_client_id">REPLACED_AT_RUNTIME_BY_PLIST</string>
</resources>
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "capacitor-game-services",
"version": "0.0.12",
"version": "0.0.13",
"description": "A native only plugin for googles play services library and apples game center library",
"main": "dist/esm/index.js",
"types": "dist/esm/index.d.ts",
Expand Down

0 comments on commit d10dc00

Please sign in to comment.