BUG FIXES

master
msmannan00 2019-08-08 12:38:15 +05:00
parent 6e5c0b0ed9
commit 3edb5a092a
41 changed files with 52 additions and 27 deletions

View File

@ -41,7 +41,7 @@ android {
flavorDimensions project.ext.dimen
productFlavors {
arm {
/*arm {
versionCode project.ext.arm_vcode
versionName project.ext.arm_vname
dimension project.ext.dimen
@ -50,17 +50,17 @@ android {
versionCode project.ext.aarch_vcode
versionName project.ext.aarch_vname
dimension project.ext.dimen
}
}*/
x86 {
versionCode project.ext.x86_vcode
versionName project.ext.x86_vname
dimension project.ext.dimen
}
x86_64 {
/*x86_64 {
versionCode project.ext.x64_vcode
versionName project.ext.x64_vname
dimension project.ext.dimen
}
}*/
}
@ -91,16 +91,16 @@ dependencies {
implementation 'cz.msebera.android:httpclient:4.5.8'
implementation 'androidx.appcompat:appcompat:1.1.0-rc01'
implementation 'androidx.constraintlayout:constraintlayout:2.0.0-beta2'
implementation 'com.google.android.material:material:1.1.0-alpha08'
implementation 'com.google.android.material:material:1.1.0-alpha09'
implementation 'androidx.preference:preference:1.1.0-rc01'
implementation 'com.android.support:design:28.0.0'
implementation 'com.android.support:appcompat-v7:28.0.0'
/*Firefox ABI Splits*/
x86Implementation "org.mozilla.geckoview:geckoview-x86:67.0.20190613202504"
x86_64Implementation "org.mozilla.geckoview:geckoview-x86_64:67.0.20190613202504"
armImplementation "org.mozilla.geckoview:geckoview-armeabi-v7a:67.0.20190613202504"
aarch64Implementation "org.mozilla.geckoview:geckoview-arm64-v8a:67.0.20190613202504"
x86Implementation "org.mozilla.geckoview:geckoview-x86:68.0.20190711090008"
//x86_64Implementation "org.mozilla.geckoview:geckoview-x86_64:68.0.20190711090008"
//armImplementation "org.mozilla.geckoview:geckoview-armeabi-v7a:68.0.20190711090008"
//aarch64Implementation "org.mozilla.geckoview:geckoview-arm64-v8a:68.0.20190711090008"
/*Alert Dialog*/
implementation 'com.crowdfire.cfalertdialog:cfalertdialog:1.1.0'
@ -111,7 +111,7 @@ dependencies {
implementation 'org.slf4j:slf4j-android:1.7.26'
/*Ads Manager*/
implementation 'com.google.android.gms:play-services-ads:18.1.0'
implementation 'com.google.android.gms:play-services-ads:18.1.1'
/*Crashlytics*/
implementation 'com.crashlytics.sdk.android:crashlytics:2.10.1'

View File

@ -10,10 +10,10 @@
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher_v1"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:networkSecurityConfig="@xml/network_security_config"
android:roundIcon="@mipmap/ic_launcher_round_v1"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/AppTheme"
android:usesCleartextTraffic="true">

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

View File

@ -142,6 +142,15 @@ public class application_controller extends AppCompatActivity
webView = findViewById(R.id.pageLoader1);
geckoView = findViewById(R.id.webLoader);
geckoView.Browser browser = mGeckoView.getCurrentBrowser();
if (browser == null) {
browser = mGeckoView.addBrowser(text.getText().toString());
} else {
browser.loadUrl(text.getText().toString());
}
progressBar = findViewById(R.id.progressBar);
requestFailure = findViewById(R.id.requestFailure);
splashScreen = findViewById(R.id.splashScreen);
@ -149,7 +158,6 @@ public class application_controller extends AppCompatActivity
floatingButton = findViewById(R.id.floatingActionButton3);
loadingIcon = findViewById(R.id.imageView_loading_back);
splashlogo = findViewById(R.id.backsplash);
geckoView = findViewById(R.id.webLoader);
loadingText = findViewById(R.id.loadingText);
webviewclient = new webviewClient();

View File

@ -6,6 +6,7 @@ import android.webkit.WebViewClient;
import com.darkweb.genesissearchengine.constants.constants;
import com.darkweb.genesissearchengine.constants.enums;
import com.darkweb.genesissearchengine.constants.status;
import com.darkweb.genesissearchengine.helperMethod;
import com.darkweb.genesissearchengine.pluginManager.fabricManager;
import com.darkweb.genesissearchengine.pluginManager.orbot_manager;
@ -28,6 +29,11 @@ public class webviewClient
}
if(!url.contains("boogle"))
{
if(url.startsWith("advert"))
{
helperMethod.openPlayStore(url.split("__")[1]);
return true;
}
app_model.getInstance().getAppInstance().stopHiddenView(false,false);
fabricManager.getInstance().sendEvent("BASE SIMPLE SEARCHED : " + url);
isGeckoView = true;

View File

@ -167,4 +167,11 @@ public class helperMethod
}
public static void openPlayStore(String packageName)
{
Intent intent = new Intent(Intent.ACTION_VIEW);
intent.setData(Uri.parse("market://details?id="+packageName));
app_model.getInstance().getAppInstance().startActivity(intent);
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.4 KiB

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@drawable/ic_launcher_background"/>
<foreground android:drawable="@drawable/ic_launcher_foreground"/>
<background android:drawable="@color/ic_launcher_background"/>
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
</adaptive-icon>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@drawable/ic_launcher_background"/>
<foreground android:drawable="@drawable/ic_launcher_foreground"/>
<background android:drawable="@color/ic_launcher_background"/>
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
</adaptive-icon>

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

View File

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="ic_launcher_background">#FFFFFF</color>
</resources>

View File

@ -1,18 +1,18 @@
/*arm versions*/
project.ext.arm_vname = '196'
project.ext.arm_vcode = 196
project.ext.arm_vname = '200'
project.ext.arm_vcode = 200
/*aarch versions*/
project.ext.aarch_vname = '197'
project.ext.aarch_vcode = 197
project.ext.aarch_vname = '201'
project.ext.aarch_vcode = 201
/*x86 versions*/
project.ext.x86_vname = '198'
project.ext.x86_vcode = 198
project.ext.x86_vname = '202'
project.ext.x86_vcode = 202
/*x64 versions*/
project.ext.x64_vname = '199'
project.ext.x64_vcode = 199
project.ext.x64_vname = '203'
project.ext.x64_vcode = 203
/*dimension*/
project.ext.dimen = 'abi'
@ -22,9 +22,9 @@
project.ext.firefox_channel = ""
/*Application Preferences*/
project.ext.compileSdkVersion = 28
project.ext.compileSdkVersion = 29
project.ext.minSdkVersion = 21
project.ext.targetSdkVersion = 28
project.ext.targetSdkVersion = 29
project.ext.versionCode = 126
project.ext.versionName = "126.0"
project.ext.applicationId = "com.darkweb.genesissearchengine"