BUG FIXES
|
@ -41,7 +41,7 @@ android {
|
||||||
flavorDimensions project.ext.dimen
|
flavorDimensions project.ext.dimen
|
||||||
|
|
||||||
productFlavors {
|
productFlavors {
|
||||||
arm {
|
/*arm {
|
||||||
versionCode project.ext.arm_vcode
|
versionCode project.ext.arm_vcode
|
||||||
versionName project.ext.arm_vname
|
versionName project.ext.arm_vname
|
||||||
dimension project.ext.dimen
|
dimension project.ext.dimen
|
||||||
|
@ -50,17 +50,17 @@ android {
|
||||||
versionCode project.ext.aarch_vcode
|
versionCode project.ext.aarch_vcode
|
||||||
versionName project.ext.aarch_vname
|
versionName project.ext.aarch_vname
|
||||||
dimension project.ext.dimen
|
dimension project.ext.dimen
|
||||||
}
|
}*/
|
||||||
x86 {
|
x86 {
|
||||||
versionCode project.ext.x86_vcode
|
versionCode project.ext.x86_vcode
|
||||||
versionName project.ext.x86_vname
|
versionName project.ext.x86_vname
|
||||||
dimension project.ext.dimen
|
dimension project.ext.dimen
|
||||||
}
|
}
|
||||||
x86_64 {
|
/*x86_64 {
|
||||||
versionCode project.ext.x64_vcode
|
versionCode project.ext.x64_vcode
|
||||||
versionName project.ext.x64_vname
|
versionName project.ext.x64_vname
|
||||||
dimension project.ext.dimen
|
dimension project.ext.dimen
|
||||||
}
|
}*/
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -91,16 +91,16 @@ dependencies {
|
||||||
implementation 'cz.msebera.android:httpclient:4.5.8'
|
implementation 'cz.msebera.android:httpclient:4.5.8'
|
||||||
implementation 'androidx.appcompat:appcompat:1.1.0-rc01'
|
implementation 'androidx.appcompat:appcompat:1.1.0-rc01'
|
||||||
implementation 'androidx.constraintlayout:constraintlayout:2.0.0-beta2'
|
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 'androidx.preference:preference:1.1.0-rc01'
|
||||||
implementation 'com.android.support:design:28.0.0'
|
implementation 'com.android.support:design:28.0.0'
|
||||||
implementation 'com.android.support:appcompat-v7:28.0.0'
|
implementation 'com.android.support:appcompat-v7:28.0.0'
|
||||||
|
|
||||||
/*Firefox ABI Splits*/
|
/*Firefox ABI Splits*/
|
||||||
x86Implementation "org.mozilla.geckoview:geckoview-x86:67.0.20190613202504"
|
x86Implementation "org.mozilla.geckoview:geckoview-x86:68.0.20190711090008"
|
||||||
x86_64Implementation "org.mozilla.geckoview:geckoview-x86_64:67.0.20190613202504"
|
//x86_64Implementation "org.mozilla.geckoview:geckoview-x86_64:68.0.20190711090008"
|
||||||
armImplementation "org.mozilla.geckoview:geckoview-armeabi-v7a:67.0.20190613202504"
|
//armImplementation "org.mozilla.geckoview:geckoview-armeabi-v7a:68.0.20190711090008"
|
||||||
aarch64Implementation "org.mozilla.geckoview:geckoview-arm64-v8a:67.0.20190613202504"
|
//aarch64Implementation "org.mozilla.geckoview:geckoview-arm64-v8a:68.0.20190711090008"
|
||||||
|
|
||||||
/*Alert Dialog*/
|
/*Alert Dialog*/
|
||||||
implementation 'com.crowdfire.cfalertdialog:cfalertdialog:1.1.0'
|
implementation 'com.crowdfire.cfalertdialog:cfalertdialog:1.1.0'
|
||||||
|
@ -111,7 +111,7 @@ dependencies {
|
||||||
implementation 'org.slf4j:slf4j-android:1.7.26'
|
implementation 'org.slf4j:slf4j-android:1.7.26'
|
||||||
|
|
||||||
/*Ads Manager*/
|
/*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*/
|
/*Crashlytics*/
|
||||||
implementation 'com.crashlytics.sdk.android:crashlytics:2.10.1'
|
implementation 'com.crashlytics.sdk.android:crashlytics:2.10.1'
|
||||||
|
|
|
@ -10,10 +10,10 @@
|
||||||
|
|
||||||
<application
|
<application
|
||||||
android:allowBackup="true"
|
android:allowBackup="true"
|
||||||
android:icon="@mipmap/ic_launcher_v1"
|
android:icon="@mipmap/ic_launcher"
|
||||||
android:label="@string/app_name"
|
android:label="@string/app_name"
|
||||||
android:networkSecurityConfig="@xml/network_security_config"
|
android:networkSecurityConfig="@xml/network_security_config"
|
||||||
android:roundIcon="@mipmap/ic_launcher_round_v1"
|
android:roundIcon="@mipmap/ic_launcher_round"
|
||||||
android:supportsRtl="true"
|
android:supportsRtl="true"
|
||||||
android:theme="@style/AppTheme"
|
android:theme="@style/AppTheme"
|
||||||
android:usesCleartextTraffic="true">
|
android:usesCleartextTraffic="true">
|
||||||
|
|
After Width: | Height: | Size: 24 KiB |
|
@ -142,6 +142,15 @@ public class application_controller extends AppCompatActivity
|
||||||
webView = findViewById(R.id.pageLoader1);
|
webView = findViewById(R.id.pageLoader1);
|
||||||
geckoView = findViewById(R.id.webLoader);
|
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);
|
progressBar = findViewById(R.id.progressBar);
|
||||||
requestFailure = findViewById(R.id.requestFailure);
|
requestFailure = findViewById(R.id.requestFailure);
|
||||||
splashScreen = findViewById(R.id.splashScreen);
|
splashScreen = findViewById(R.id.splashScreen);
|
||||||
|
@ -149,7 +158,6 @@ public class application_controller extends AppCompatActivity
|
||||||
floatingButton = findViewById(R.id.floatingActionButton3);
|
floatingButton = findViewById(R.id.floatingActionButton3);
|
||||||
loadingIcon = findViewById(R.id.imageView_loading_back);
|
loadingIcon = findViewById(R.id.imageView_loading_back);
|
||||||
splashlogo = findViewById(R.id.backsplash);
|
splashlogo = findViewById(R.id.backsplash);
|
||||||
geckoView = findViewById(R.id.webLoader);
|
|
||||||
loadingText = findViewById(R.id.loadingText);
|
loadingText = findViewById(R.id.loadingText);
|
||||||
|
|
||||||
webviewclient = new webviewClient();
|
webviewclient = new webviewClient();
|
||||||
|
|
|
@ -6,6 +6,7 @@ import android.webkit.WebViewClient;
|
||||||
import com.darkweb.genesissearchengine.constants.constants;
|
import com.darkweb.genesissearchengine.constants.constants;
|
||||||
import com.darkweb.genesissearchengine.constants.enums;
|
import com.darkweb.genesissearchengine.constants.enums;
|
||||||
import com.darkweb.genesissearchengine.constants.status;
|
import com.darkweb.genesissearchengine.constants.status;
|
||||||
|
import com.darkweb.genesissearchengine.helperMethod;
|
||||||
import com.darkweb.genesissearchengine.pluginManager.fabricManager;
|
import com.darkweb.genesissearchengine.pluginManager.fabricManager;
|
||||||
import com.darkweb.genesissearchengine.pluginManager.orbot_manager;
|
import com.darkweb.genesissearchengine.pluginManager.orbot_manager;
|
||||||
|
|
||||||
|
@ -28,6 +29,11 @@ public class webviewClient
|
||||||
}
|
}
|
||||||
if(!url.contains("boogle"))
|
if(!url.contains("boogle"))
|
||||||
{
|
{
|
||||||
|
if(url.startsWith("advert"))
|
||||||
|
{
|
||||||
|
helperMethod.openPlayStore(url.split("__")[1]);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
app_model.getInstance().getAppInstance().stopHiddenView(false,false);
|
app_model.getInstance().getAppInstance().stopHiddenView(false,false);
|
||||||
fabricManager.getInstance().sendEvent("BASE SIMPLE SEARCHED : " + url);
|
fabricManager.getInstance().sendEvent("BASE SIMPLE SEARCHED : " + url);
|
||||||
isGeckoView = true;
|
isGeckoView = true;
|
||||||
|
|
|
@ -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);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Before Width: | Height: | Size: 39 KiB |
Before Width: | Height: | Size: 5.4 KiB |
|
@ -1,5 +1,5 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
<background android:drawable="@drawable/ic_launcher_background"/>
|
<background android:drawable="@color/ic_launcher_background"/>
|
||||||
<foreground android:drawable="@drawable/ic_launcher_foreground"/>
|
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
|
||||||
</adaptive-icon>
|
</adaptive-icon>
|
|
@ -1,5 +1,5 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
<background android:drawable="@drawable/ic_launcher_background"/>
|
<background android:drawable="@color/ic_launcher_background"/>
|
||||||
<foreground android:drawable="@drawable/ic_launcher_foreground"/>
|
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
|
||||||
</adaptive-icon>
|
</adaptive-icon>
|
After Width: | Height: | Size: 2.2 KiB |
After Width: | Height: | Size: 2.7 KiB |
After Width: | Height: | Size: 4.0 KiB |
Before Width: | Height: | Size: 3.8 KiB |
Before Width: | Height: | Size: 3.8 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 2.1 KiB |
After Width: | Height: | Size: 2.9 KiB |
After Width: | Height: | Size: 3.8 KiB |
After Width: | Height: | Size: 5.5 KiB |
Before Width: | Height: | Size: 4.9 KiB |
Before Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 4.9 KiB |
After Width: | Height: | Size: 4.5 KiB |
After Width: | Height: | Size: 6.6 KiB |
After Width: | Height: | Size: 8.9 KiB |
Before Width: | Height: | Size: 9.2 KiB |
Before Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 9.2 KiB |
After Width: | Height: | Size: 6.3 KiB |
After Width: | Height: | Size: 10 KiB |
After Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 13 KiB |
|
@ -0,0 +1,4 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<resources>
|
||||||
|
<color name="ic_launcher_background">#FFFFFF</color>
|
||||||
|
</resources>
|
|
@ -1,18 +1,18 @@
|
||||||
/*arm versions*/
|
/*arm versions*/
|
||||||
project.ext.arm_vname = '196'
|
project.ext.arm_vname = '200'
|
||||||
project.ext.arm_vcode = 196
|
project.ext.arm_vcode = 200
|
||||||
|
|
||||||
/*aarch versions*/
|
/*aarch versions*/
|
||||||
project.ext.aarch_vname = '197'
|
project.ext.aarch_vname = '201'
|
||||||
project.ext.aarch_vcode = 197
|
project.ext.aarch_vcode = 201
|
||||||
|
|
||||||
/*x86 versions*/
|
/*x86 versions*/
|
||||||
project.ext.x86_vname = '198'
|
project.ext.x86_vname = '202'
|
||||||
project.ext.x86_vcode = 198
|
project.ext.x86_vcode = 202
|
||||||
|
|
||||||
/*x64 versions*/
|
/*x64 versions*/
|
||||||
project.ext.x64_vname = '199'
|
project.ext.x64_vname = '203'
|
||||||
project.ext.x64_vcode = 199
|
project.ext.x64_vcode = 203
|
||||||
|
|
||||||
/*dimension*/
|
/*dimension*/
|
||||||
project.ext.dimen = 'abi'
|
project.ext.dimen = 'abi'
|
||||||
|
@ -22,9 +22,9 @@
|
||||||
project.ext.firefox_channel = ""
|
project.ext.firefox_channel = ""
|
||||||
|
|
||||||
/*Application Preferences*/
|
/*Application Preferences*/
|
||||||
project.ext.compileSdkVersion = 28
|
project.ext.compileSdkVersion = 29
|
||||||
project.ext.minSdkVersion = 21
|
project.ext.minSdkVersion = 21
|
||||||
project.ext.targetSdkVersion = 28
|
project.ext.targetSdkVersion = 29
|
||||||
project.ext.versionCode = 126
|
project.ext.versionCode = 126
|
||||||
project.ext.versionName = "126.0"
|
project.ext.versionName = "126.0"
|
||||||
project.ext.applicationId = "com.darkweb.genesissearchengine"
|
project.ext.applicationId = "com.darkweb.genesissearchengine"
|
||||||
|
|