diff --git a/PishkhanHelper/build.gradle b/PishkhanHelper/build.gradle index 501d918..7145690 100644 --- a/PishkhanHelper/build.gradle +++ b/PishkhanHelper/build.gradle @@ -53,13 +53,13 @@ dependencies { implementation 'com.github.shadowalker77:whygoogle:0.8.2' //Ayan Networking - implementation 'com.github.shadowalker77:networking:1.6.1' + implementation 'com.github.shadowalker77:networking:1.6.7' //Version Control implementation 'com.github.ayantech:versioncontrol:0.6.2' //Push Notification - implementation 'com.github.shadowalker77:pushnotification:1.1.10' + implementation 'com.github.shadowalker77:pushnotification:1.1.11' //Scanner api 'com.google.zxing:core:3.5.0' @@ -94,7 +94,7 @@ afterEvaluate { artifactId = 'pishkhanhelper' // Version Library Name (Example : "1.0.0") - version = '0.3.2' + version = '0.3.4' } } } diff --git a/PishkhanHelper/src/main/java/ir/ayantech/pishkhanhelper/activity/HelperDrawerActivity.kt b/PishkhanHelper/src/main/java/ir/ayantech/pishkhanhelper/activity/HelperDrawerActivity.kt index 341c20d..e39b286 100644 --- a/PishkhanHelper/src/main/java/ir/ayantech/pishkhanhelper/activity/HelperDrawerActivity.kt +++ b/PishkhanHelper/src/main/java/ir/ayantech/pishkhanhelper/activity/HelperDrawerActivity.kt @@ -11,6 +11,7 @@ import ir.ayantech.ayannetworking.api.AyanApi import ir.ayantech.ayannetworking.api.AyanCommonCallStatus import ir.ayantech.ayannetworking.api.CallingState import ir.ayantech.ayannetworking.ayanModel.FailureType +import ir.ayantech.pishkhanhelper.model.versionControl.AppExtraInfo import ir.ayantech.pishkhanhelper.PishkhanHelper import ir.ayantech.pishkhanhelper.R import ir.ayantech.pishkhanhelper.app.HelperApplication @@ -25,6 +26,7 @@ import ir.ayantech.pishkhanhelper.model.AppInfo import ir.ayantech.pishkhanhelper.rate.showRatingIntent import ir.ayantech.pishkhanhelper.storage.SavedData import ir.ayantech.pishkhanhelper.fragment.login.EnterPhoneNumberFragment +import ir.ayantech.pushsdk.core.AyanNotification import ir.ayantech.versioncontrol.VersionControlCore import ir.ayantech.whygoogle.fragment.WhyGoogleFragment import ir.ayantech.whygoogle.helper.SimpleCallBack @@ -119,6 +121,7 @@ abstract class HelperDrawerActivity : LocaleHelperActivity) -> Boolean abstract val handleDrawerLayoutLockOnTopFragmentChanged: (whyGoogleFragment: WhyGoogleFragment<*>) -> Boolean abstract val getUserPhoneNumber: () -> String + abstract val getUserToken: () -> String open val onPrivacyPolicyMenuItemClicked: SimpleCallBack? = null open val onTermsAndConditionsMenuItemClicked: SimpleCallBack? = null @@ -138,6 +141,18 @@ abstract class HelperDrawerActivity : LocaleHelperActivity() { @@ -30,7 +32,9 @@ abstract class EnterOtpCodeFragment : WhyGoogleFragment + app:srcCompat="@drawable/helper_ic_privacy_policy" /> + app:srcCompat="@drawable/helper_ic_terms_and_conditions" /> + + Hook + android + @drawable/notif_logo + \ No newline at end of file