diff --git a/.idea/gradle.xml b/.idea/gradle.xml
index a72ff11..04f6c6b 100644
--- a/.idea/gradle.xml
+++ b/.idea/gradle.xml
@@ -4,10 +4,8 @@
diff --git a/.idea/misc.xml b/.idea/misc.xml
index 22f6cf1..75e7669 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -13,7 +13,7 @@
-
+
diff --git a/app/build.gradle b/app/build.gradle
index c59231d..38dbbb0 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -1,14 +1,16 @@
apply plugin: 'com.android.application'
//apply plugin: 'android-maven'
android {
- compileSdkVersion 33
+ defaultConfig {
+ compileSdk 34
+ }
defaultConfig {
applicationId "com.src.terans"
minSdkVersion 22
- targetSdkVersion 33
- versionCode 6
- versionName "1.0.6"
+ targetSdk 34
+ versionCode 7
+ versionName "1.0.7"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
diff --git a/build.gradle b/build.gradle
index dfe1cf5..897efa2 100644
--- a/build.gradle
+++ b/build.gradle
@@ -11,7 +11,7 @@ buildscript {
maven { url "https://jitpack.io" }
}
dependencies {
- classpath 'com.android.tools.build:gradle:7.4.1'
+ classpath 'com.android.tools.build:gradle:7.4.2'
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.3'
diff --git a/start/build.gradle b/start/build.gradle
index 0798384..4187a4c 100644
--- a/start/build.gradle
+++ b/start/build.gradle
@@ -1,11 +1,13 @@
apply plugin: 'com.android.library'
//apply plugin: 'android-maven'
android {
- compileSdkVersion 33
+ defaultConfig {
+ compileSdk 34
+ }
defaultConfig {
minSdkVersion 22
- targetSdkVersion 33
+ targetSdk 34
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles 'consumer-rules.pro'
@@ -40,7 +42,7 @@ afterEvaluate {
from components.release
groupId = 'com.github.Mori-hub'
artifactId = 'Myket-Intent'
- version = '0.1.21'
+ version = '0.1.22'
}
}
}
diff --git a/start/src/main/java/com/src/start/Aboutme_Myket.java b/start/src/main/java/com/src/start/Aboutme_Myket.java
index f63db17..dec233f 100644
--- a/start/src/main/java/com/src/start/Aboutme_Myket.java
+++ b/start/src/main/java/com/src/start/Aboutme_Myket.java
@@ -54,7 +54,7 @@ public Aboutme_Myket(Context context) {
alpha_package = info.packageName;//
} catch (PackageManager.NameNotFoundException e) {
- e.printStackTrace();
+ Log.e("TAG", "Aboutme_Myket: ", e);
}
TextView textView = findViewById(R.id.textView);
@@ -131,7 +131,7 @@ private void initialize(Context context) {
} else
alpa_context.startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(urlbtnCom)));
} catch (ActivityNotFoundException e) {
- e.printStackTrace();
+ Log.e("TAG", "Aboutme_Myket: ", e);
}
});
//ارجاع به برنامه
@@ -148,7 +148,7 @@ private void initialize(Context context) {
// .startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(urlbtnHelp)));
} catch (ActivityNotFoundException e) {
- e.printStackTrace();
+ Log.e("TAG", "Aboutme_Myket: ", e);
}
});
@@ -257,7 +257,7 @@ public void addGoogle(boolean active) {
alpa_context.startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(url)));
} catch (ActivityNotFoundException e) {
- e.printStackTrace();
+ Log.e("TAG", "Aboutme_Myket: ", e);
}
//"https://play.google.com/store/apps/details?id=" + alpha_package;
//https://play.google.com/store/search?q=pub:"+"Smart rabite"
@@ -296,7 +296,7 @@ public void addGoogleRateApp(Context mContext) {
);
} catch (ActivityNotFoundException e) {
- e.printStackTrace();
+ Log.e("TAG", "Aboutme_Myket: ", e);
}
});
}
@@ -309,7 +309,7 @@ private void openGoogleStore() {
alpa_context.startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(url)));
} catch (ActivityNotFoundException e) {
- e.printStackTrace();
+ Log.e("TAG", "Aboutme_Myket: ", e);
}
}
@@ -408,7 +408,7 @@ public void dia(Aboutme_Myket v) {
findViewById(R.id.btnClose).setVisibility(GONE);
findViewById(R.id.btnClose3).setVisibility(GONE);
alertDialog.show();
- alertDialog.getWindow().setBackgroundDrawable(new ColorDrawable(android.graphics.Color.TRANSPARENT));
+ Objects.requireNonNull(alertDialog.getWindow()).setBackgroundDrawable(new ColorDrawable(android.graphics.Color.TRANSPARENT));
}