Skip to content
This repository has been archived by the owner on Oct 2, 2018. It is now read-only.

Commit

Permalink
version 2.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
QuadTriangle committed Feb 15, 2018
1 parent 19dd9de commit b474de1
Show file tree
Hide file tree
Showing 8 changed files with 157 additions and 19 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ This an alternative to My Airtel app which is slow and boring.

### Download Link

### [Download Buy Data Pack - v2.0.0](https://github.com/QuadTriangle/BuyDataPack/releases/download/v2.0.0/BuyDataPack-v2.0.0.apk)
### [Download Buy Data Pack - v2.0.1](https://github.com/QuadTriangle/BuyDataPack/releases/download/v2.0.1/BuyDataPack-v2.0.1.apk)



Expand Down
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ android {
applicationId "com.github.quadtriangle.buydatapack"
minSdkVersion 15
targetSdkVersion 27
versionCode 200
versionName "2.0.0"
versionCode 201
versionName "2.0.1"
vectorDrawables.useSupportLibrary = true
}

Expand Down
42 changes: 42 additions & 0 deletions app/src/main/res/layout/my_ad_layout.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent">

<include
android:id="@+id/include"
layout="@layout/toolbar" />


<android.support.constraint.Guideline
android:id="@+id/guideline3"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal"
app:layout_constraintGuide_percent="0.8813187" />

<ScrollView
android:id="@+id/scroll_view"
android:layout_width="0dp"
android:layout_height="0dp"
android:clipToPadding="true"
android:fillViewport="true"
app:layout_constraintBottom_toTopOf="@+id/guideline3"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/include">

<include layout="@layout/my_layout" />
</ScrollView>

<com.google.android.gms.ads.AdView
android:id="@+id/adView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/guideline3" />

</android.support.constraint.ConstraintLayout>
89 changes: 89 additions & 0 deletions app/src/main/res/layout/my_layout.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent">

<android.support.constraint.Guideline
android:id="@+id/guideline"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal"
app:layout_constraintGuide_percent="0.5" />

<TextView
android:id="@+id/textView2"
android:layout_width="0dp"
android:layout_height="0dp"
app:layout_constraintBottom_toTopOf="@+id/guideline"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />

<ProgressBar
android:id="@+id/progressBar2"
style="?android:attr/progressBarStyle"
android:layout_width="69dp"
android:layout_height="67dp"
android:layout_marginBottom="8dp"
android:layout_marginEnd="8dp"
android:layout_marginStart="8dp"
android:layout_marginTop="8dp"
app:layout_constraintBottom_toTopOf="@+id/guideline"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />

<Button
android:id="@+id/button"
android:layout_width="116dp"
android:layout_height="104dp"
android:text="Buy Pack"
android:paddingTop="15dp"
android:drawableTop="@drawable/ic_external"
android:textStyle="bold"
app:layout_constraintBottom_toTopOf="@+id/button3"
app:layout_constraintEnd_toStartOf="@+id/button2"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="@+id/guideline" />

<Button
android:id="@+id/button2"
android:layout_width="116dp"
android:layout_height="104dp"
android:text="Usage History"
android:paddingTop="15dp"
android:drawableTop="@drawable/ic_external"
android:textStyle="bold"
app:layout_constraintBottom_toTopOf="@+id/button4"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@+id/button"
app:layout_constraintTop_toTopOf="@+id/guideline" />

<Button
android:id="@+id/button3"
android:layout_width="116dp"
android:layout_height="104dp"
android:text="Offer"
android:paddingTop="15dp"
android:drawableTop="@drawable/ic_external"
android:textStyle="bold"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@+id/button4"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/button" />

<Button
android:id="@+id/button4"
android:layout_width="116dp"
android:layout_height="104dp"
android:text="More"
android:paddingTop="15dp"
android:drawableTop="@drawable/ic_external"
android:textStyle="bold"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@+id/button3"
app:layout_constraintTop_toBottomOf="@+id/button2" />

</android.support.constraint.ConstraintLayout>
2 changes: 1 addition & 1 deletion app/src/main/res/values-bn/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
<string name="sms_permission_msg">এই অ্যাপ টা ব্যবহার করতে আপনাকে অবশ্যই এসএমএস এর অনুমতি দিতে হবে। এসএমএস এর অনুমতি ছাড়া এটি অটো secret কোড বসাতে পারবে না।</string>
<string name="no_pack_msg"><![CDATA[<i>কোনো প্যাক পাওয়া যায় নি।<i><br/><i>অনুগ্রহ করে পরে আবার চেষ্টা করুন।<i>]]></string>
<string name="connection_failed">কানেক্টশন ব্যর্থ</string>
<string name="server_overloaded_msg">সার্ভারে ওভারলোড হয়েছে এবং রেসপন্স করতে পারছে না</string>
<string name="server_overloaded_msg">সার্ভারে ওভারলোড হয়েছে এবং রেসপন্স করতে পারছে না।\nঅথবা, আপনার ইন্টারনেট কানেক্টশন কাজ করছে না।</string>
<string name="auto_login_failed">অটো লগইন ব্যর্থ</string>
<string name="no_data_msg">সার্ভার কোনো ডাটা পাঠায় নি। অনুগ্রহ করে আবার চেষ্টা করুন।</string>
</resources>
13 changes: 13 additions & 0 deletions app/src/main/res/values/aboutlibraries_description.xml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,19 @@
<string name="aboutLibraries_description_special3_name" translatable="false">Changelog</string>
<string name="aboutLibraries_description_special3_text" translatable="false">
<![CDATA[
<b>Version 2.0.1</b>
<br/>
- fix login issues
<br/>
- fix usage history
<br/>
- handle some errors
<br/>
- change locale dialog on first start
<br/>
- added sms permission rationale
<br/>
<br/>
<b>Version 2.0.0</b>
<br/>
- added persisted login with local logout
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
<string name="sms_permission_msg">You must grant SMS permission to use this app. SMS permission is required to auto fill secret codes.</string>
<string name="no_pack_msg"><![CDATA[<i>No Pack available.<i><br/><i>Please try again later.<i>]]></string>
<string name="connection_failed">Connection Failed</string>
<string name="server_overloaded_msg">The server is overloaded and can\'t not respond</string>
<string name="server_overloaded_msg">The server is overloaded and can\'t respond.\nOr, your data connection is not working.</string>
<string name="auto_login_failed">Auto Login Failed</string>
<string name="no_data_msg">The server didn\'t return any data. Please try again</string>
</resources>
22 changes: 8 additions & 14 deletions app/update-changelog.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,12 @@
{
"latestVersion": "2.0.0",
"latestVersionCode": "200",
"url": "https://github.com/QuadTriangle/BuyDataPack/releases/download/v2.0.0/BuyDataPack-v2.0.0.apk",
"latestVersion": "2.0.1",
"latestVersionCode": "201",
"url": "https://github.com/QuadTriangle/BuyDataPack/releases/download/v2.0.1/BuyDataPack-v2.0.1.apk",
"releaseNotes": [
"- added persisted login with local logout",
"- fix timeout after effects",
"- support android 4.0.3",
"- fix a crash on huawei",
"- added a crash handler",
"- added registration and forgot password links",
"- added a drawer",
"- enable rotation on buy pack activity",
"- added a data and account balance checker",
"- added offer",
"- added usage history"
"- fix login issues",
"- fix usage history",
"- handle some errors",
"- change locale dialog on first start",
"- added sms permission rationale"
]
}

0 comments on commit b474de1

Please sign in to comment.