Skip to content

Commit f4b9fc3

Browse files
refactor: Added new languages, fixed Play Store link, and updated version code
Enhanced user experience and app functionality: - Added support for Arabic, Bengali, Brazilian Portuguese, Filipino, Korean, Spanish (Mexico), Swedish, Thai, Traditional Chinese, Urdu, and Vietnamese languages. - Corrected the Play Store link in `HomeRepository.java` to point to the correct application ID. - Updated the app version code to 39. - Fixed minor typos in French translations. - Removed unnecessary ">" character from the `ad_banner_unit_id` string.
1 parent cdbf93e commit f4b9fc3

File tree

19 files changed

+5282
-25
lines changed

19 files changed

+5282
-25
lines changed

.idea/workspace.xml

Lines changed: 34 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ android {
1212
applicationId 'com.d4rk.androidtutorials.java'
1313
minSdk 23
1414
targetSdk 36
15-
versionCode 38
15+
versionCode 39
1616
versionName '5.0.1'
1717
archivesBaseName = "${applicationId}-v${versionName}"
1818
vectorDrawables.useSupportLibrary = true

app/src/main/java/com/d4rk/androidtutorials/java/ui/screens/home/repository/HomeRepository.java

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,12 @@
22

33
import android.content.Context;
44
import android.content.Intent;
5-
import android.graphics.Bitmap;
65
import android.net.Uri;
76

87
import com.android.volley.Request;
98
import com.android.volley.RequestQueue;
10-
import com.android.volley.toolbox.ImageRequest;
119
import com.android.volley.toolbox.JsonObjectRequest;
1210
import com.android.volley.toolbox.Volley;
13-
import com.d4rk.androidtutorials.java.BuildConfig;
1411
import com.d4rk.androidtutorials.java.R;
1512
import com.d4rk.androidtutorials.java.data.model.PromotedApp;
1613

@@ -42,7 +39,7 @@ public HomeRepository(Context context) {
4239
* You can change the package name or URL as needed.
4340
*/
4441
public Intent getPlayStoreIntent() {
45-
String playStoreUrl = "https://play.google.com/store/apps/details?id=" + BuildConfig.APPLICATION_ID;
42+
String playStoreUrl = "https://play.google.com/store/apps/details?id=com.d4rk.androidtutorials";
4643
return buildPlayStoreIntent(playStoreUrl);
4744
}
4845

@@ -97,7 +94,7 @@ public void fetchPromotedApps(PromotedAppsCallback callback) {
9794
for (int i = 0; i < apps.length(); i++) {
9895
JSONObject obj = apps.getJSONObject(i);
9996
String pkg = obj.getString("packageName");
100-
if (BuildConfig.APPLICATION_ID.equals(pkg)) {
97+
if (pkg.contains("com.d4rk.androidtutorials")) {
10198
continue;
10299
}
103100
result.add(new PromotedApp(

0 commit comments

Comments
 (0)