Skip to content

Commit

Permalink
Added feature to download expansion files if deleted by user (#121)
Browse files Browse the repository at this point in the history
  • Loading branch information
akashdabhi03 authored and mathewnik90 committed Jun 28, 2019
1 parent 49deb07 commit c8cbfa4
Show file tree
Hide file tree
Showing 34 changed files with 1,897 additions and 2,988 deletions.
8 changes: 4 additions & 4 deletions app/build.gradle
Expand Up @@ -34,8 +34,8 @@ android {
applicationId 'com.maq.xprize.onecourse.hindi'
minSdkVersion 23
targetSdkVersion 28
versionCode 12
versionName "4.0.6"
versionCode 14
versionName "4.1.0"
resValue "string", "app_name", "onecourse"
}
buildTypes {
Expand Down Expand Up @@ -77,8 +77,8 @@ android {
productFlavors {
enGB_community_ {
applicationId 'com.maq.xprize.onecourse.hindi'
versionCode 12
versionName '4.0.6'
versionCode 14
versionName '4.1.0'
resValue "string", "app_name", "वनकोर्स - onecourse"
buildConfigField 'String', 'SETTINGS_FILE', '"settings_community_enGB.plist"'
manifestPlaceholders = [
Expand Down
26 changes: 24 additions & 2 deletions app/src/main/AndroidManifest.xml
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="com.maq.xprize.onecourse.hindi"
android:installLocation="internalOnly"
android:sharedUserId="${appuserid}">
Expand Down Expand Up @@ -30,7 +29,7 @@
android:theme="@style/AppTheme">

<activity
android:name=".mainui.MainActivity"
android:name=".mainui.DownloadExpansionFile"
android:configChanges="orientation|keyboardHidden|screenSize"
android:launchMode="singleTask"
android:screenOrientation="sensorLandscape"
Expand All @@ -43,11 +42,34 @@
</intent-filter>
</activity>

<activity
android:name=".mainui.MainActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:launchMode="singleTask"
android:screenOrientation="sensorLandscape"
android:theme="@android:style/Theme.NoTitleBar.Fullscreen" />

<activity
android:name=".mainui.SplashScreenActivity"
android:configChanges="orientation|screenSize|keyboardHidden"
android:launchMode="singleTask"
android:screenOrientation="sensorLandscape" />

<!--
In order to start the service, it must be uniquely registered with
the package manager here.
-->
<service android:name=".service.ExpansionDownloaderService" />

<!--
In order for the alarm manager to contact the downloader script, the receiver
must be uniquely registered with the package manager here.
-->
<receiver android:name=".service.ExpansionAlarmReceiver" />


<uses-library
android:name="org.apache.http.legacy"
android:required="false" />
</application>
</manifest>

0 comments on commit c8cbfa4

Please sign in to comment.