Commit
Make changes necessary to import Skillz framework and compile with framework added. At this point, the app launches directly into the game and is not yet displaying the Skillz interface.
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,19 +5,36 @@ android { | |
buildToolsVersion '27.0.3' | ||
|
||
defaultConfig { | ||
minSdkVersion 14 | ||
minSdkVersion 19 | ||
This comment has been minimized.
Sorry, something went wrong.
millibeckers
Author
|
||
targetSdkVersion 27 | ||
versionCode 27 | ||
versionName "1.1.11" | ||
|
||
ndk { | ||
abiFilters "armeabi-v7a", "x86" | ||
} | ||
} | ||
|
||
buildTypes { | ||
release { | ||
minifyEnabled false | ||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt' | ||
} | ||
} | ||
|
||
compileOptions { | ||
sourceCompatibility JavaVersion.VERSION_1_8 | ||
targetCompatibility JavaVersion.VERSION_1_8 | ||
} | ||
|
||
repositories { | ||
maven { | ||
url "http://nexus.skillz.com/content/groups/public/" | ||
} | ||
} | ||
} | ||
|
||
dependencies { | ||
compile 'com.android.support:appcompat-v7:27.1.1' | ||
implementation 'com.skillz.sdk:skillz-sdk-android:21.0.14' | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,23 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | ||
package="com.tpcstld.twozerogame"> | ||
<uses-sdk android:minSdkVersion="19" android:targetSdkVersion="27" /> | ||
|
||
<application | ||
android:allowBackup="true" | ||
android:icon="@drawable/logo_2048" | ||
android:label="@string/app_name" | ||
android:theme="@style/AppTheme"> | ||
|
||
<meta-data android:name="skillz_game_id" android:value="2112" /> | ||
<meta-data android:name="skillz_production" android:value="false" /> | ||
<meta-data android:name="skillz_game_activity" android:value="com.tpcstld.twozerogame.MainActivity" /> | ||
<meta-data android:name="skillz_allow_exit" android:value="false" /> | ||
This comment has been minimized.
Sorry, something went wrong.
millibeckers
Author
|
||
|
||
<activity | ||
android:name=".MainActivity" | ||
android:label="@string/app_name" | ||
android:launchMode="singleTask" | ||
android:screenOrientation="portrait"> | ||
<intent-filter> | ||
<action android:name="android.intent.action.MAIN" /> | ||
|
1 comment
on commit f4aa9f7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note that the build.gradle file modified to integrate with the Skillz SDK was not the top level project one, but the one associated with the module.
This change was done automatically for me by Android Studio when I changed the language in the build.gradle file