From 0f17bd75f7ecc85fa44269c1977584544eb137b0 Mon Sep 17 00:00:00 2001 From: Sarsa Murmu Date: Fri, 18 Oct 2019 17:25:51 +0530 Subject: [PATCH] Update for v3.5.0-beta.6.6 --- app/build.gradle | 22 +++++++++---------- app/src/main/AndroidManifest.xml | 8 ++++++- .../sample/applications/CandyBar.java | 2 +- .../candybar/sample/services/ClockWidget.java | 2 +- 4 files changed, 20 insertions(+), 14 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index e9b557b..1fa4042 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -1,19 +1,19 @@ -// Remove '/*' and '*/' below to enable OneSignal +// Remove '/*' and '*/' to Enable OneSignal /* buildscript { - repositories { - maven { url 'https://plugins.gradle.org/m2/' } - } - dependencies { - classpath 'gradle.plugin.com.onesignal:onesignal-gradle-plugin:0.12.3' - } + repositories { + maven { url 'https://plugins.gradle.org/m2/' } + } + dependencies { + classpath 'gradle.plugin.com.onesignal:onesignal-gradle-plugin:0.12.6' + } } apply plugin: 'com.onesignal.androidsdk.onesignal-gradle-plugin' */ apply plugin: 'com.android.application' repositories { - maven { url 'https://maven.google.com' } + maven { url 'https://jitpack.io' } } android { @@ -25,7 +25,7 @@ android { variant.outputs.all { output -> def appName = parent.name def fileName = appName.replace(" ", "_") - outputFileName = "$fileName-v${variant.versionName}.apk" + outputFileName = "$fileName-v${variant.versionCode}.apk" } } @@ -73,8 +73,8 @@ dependencies { * 6. Done */ - implementation 'com.github.zixpo:candybar:v3.5.0-beta.6.5' + implementation 'com.github.zixpo:candybar:v3.5.0-beta.6.6' // Remove '//' below to Enable OneSignal - //implementation 'com.onesignal:OneSignal:3.10.7' + //implementation 'com.onesignal:OneSignal:3.11.3' } diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index dcc9276..ed79815 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -21,10 +21,11 @@ android:name=".applications.CandyBar" android:allowBackup="true" android:icon="@mipmap/ic_launcher" + android:networkSecurityConfig="@xml/network_config" + android:requestLegacyExternalStorage="true" android:label="@string/app_name" android:supportsRtl="true" android:theme="@style/AppTheme" - android:networkSecurityConfig="@xml/network_config" tools:replace="android:icon"> + +