bug fixes

master
msmannan00 2019-07-16 21:28:37 +05:00
parent 6f3af99487
commit 819a129fa4
69 changed files with 83 additions and 91 deletions

View File

@ -3,9 +3,6 @@
<component name="GradleSettings"> <component name="GradleSettings">
<option name="linkedExternalProjectsSettings"> <option name="linkedExternalProjectsSettings">
<GradleProjectSettings> <GradleProjectSettings>
<compositeConfiguration>
<compositeBuild compositeDefinitionSource="SCRIPT" />
</compositeConfiguration>
<option name="distributionType" value="DEFAULT_WRAPPED" /> <option name="distributionType" value="DEFAULT_WRAPPED" />
<option name="externalProjectPath" value="$PROJECT_DIR$" /> <option name="externalProjectPath" value="$PROJECT_DIR$" />
<option name="modules"> <option name="modules">

View File

@ -1,13 +1,14 @@
apply plugin: 'com.android.application' apply plugin: 'com.android.application'
apply from: 'variables.gradle'
apply plugin: 'maven' apply plugin: 'maven'
apply plugin: 'io.fabric' apply plugin: 'io.fabric'
ext {
geckoviewChannel = ""
geckoviewVersion = "67.0.20190613202504"
}
ext {
geckoviewChannel = project.ext.firefox_channel
geckoviewVersion = project.ext.firefox_version
}
repositories { repositories {
maven { maven {
@ -16,124 +17,94 @@ repositories {
mavenCentral() mavenCentral()
google() google()
jcenter() jcenter()
maven { url "https://raw.githubusercontent.com/guardianproject/gpmaven/master" }
} }
} }
android { android {
compileSdkVersion 28 compileSdkVersion project.ext.compileSdkVersion
defaultConfig { defaultConfig {
applicationId "com.darkweb.genesissearchengine" applicationId project.ext.applicationId
minSdkVersion 21 minSdkVersion project.ext.minSdkVersion
targetSdkVersion 28 targetSdkVersion project.ext.targetSdkVersion
versionCode 126 versionCode project.ext.versionCode
versionName "126.0" versionName project.ext.versionName
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
} }
flavorDimensions "abi" flavorDimensions "abi"
// Note: compileOptions is only required for minSdkVersion < 24
// Note: compileOptions is only required for minSdkVersion < 26 (not 24)
compileOptions { compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8 sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8
} }
flavorDimensions "abi" flavorDimensions project.ext.dimen
productFlavors { productFlavors {
/*arm { arm {
versionCode 180 versionCode project.ext.arm_vcode
versionName "180" versionName project.ext.arm_vname
dimension "abi" dimension project.ext.dimen
buildConfigField "String", "VARIANT", "\"arm\"" }
}*/ aarch64 {
aarch64 { versionCode project.ext.aarch_vcode
versionCode 181 versionName project.ext.aarch_vname
versionName "181" dimension project.ext.dimen
dimension "abi" }
buildConfigField "String", "VARIANT", "\"aarch64\"" x86 {
}/* versionCode project.ext.x86_vcode
x86 { versionName project.ext.x86_vname
versionCode 182 dimension project.ext.dimen
versionName "182" }
dimension "abi" x86_64 {
buildConfigField "String", "VARIANT", "\"i686\"" versionCode project.ext.x64_vcode
versionName project.ext.x64_vname
dimension project.ext.dimen
} }
/*x86_64 {
versionCode 183
versionName "183"
dimension "abi"
buildConfigField "String", "VARIANT", "\"x86_64\""
}*/
} }
buildTypes { buildTypes {
release { release {
minifyEnabled false minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
} }
splits {
abi {
enable true
reset()
include 'arm64-v8a'
include 'x86'
include 'armeabi-v7a'
include 'x86_64'
universalApk true
}
}
}
}
configurations.all {
resolutionStrategy.eachDependency { DependencyResolveDetails details ->
def requested = details.requested
if (requested.group == 'com.android.support') {
if (!requested.name.startsWith("multidex")) {
details.useVersion '26.1.0'
}
}
} }
} }
dependencies { dependencies {
/*Default Libraries*/
implementation fileTree(dir: 'libs', include: ['*.jar']) implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support.constraint:constraint-layout:2.0.0-beta2' implementation 'com.android.support.constraint:constraint-layout:2.0.0-beta2'
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.constraintlayout:constraintlayout:2.0.0-beta2'
implementation 'com.google.android.material:material:1.1.0-alpha08'
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'
//x86Implementation "org.mozilla.geckoview:geckoview-x86:67.0.20190613202504" /*Firefox ABI Splits*/
//x86_64Implementation "org.mozilla.geckoview:geckoview-x86_64:67.0.20190613202504" x86Implementation "org.mozilla.geckoview:geckoview-x86:67.0.20190613202504"
//armImplementation "org.mozilla.geckoview:geckoview-armeabi-v7a: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" aarch64Implementation "org.mozilla.geckoview:geckoview-arm64-v8a:67.0.20190613202504"
implementation 'androidx.appcompat:appcompat:1.0.2' /*Alert Dialog*/
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
implementation 'com.google.android.material:material:1.0.0'
implementation 'androidx.preference:preference:1.1.0-alpha02'
implementation 'com.crashlytics.sdk.android:crashlytics:2.10.1'
implementation 'com.crowdfire.cfalertdialog:cfalertdialog:1.1.0' implementation 'com.crowdfire.cfalertdialog:cfalertdialog:1.1.0'
/*Onion Proxy*/
implementation 'com.github.jehy:Tor-Onion-Proxy-Library:0.0.7' implementation 'com.github.jehy:Tor-Onion-Proxy-Library:0.0.7'
implementation 'org.slf4j:slf4j-api:2.0.0-alpha0' implementation 'org.slf4j:slf4j-api:2.0.0-alpha0'
implementation 'org.slf4j:slf4j-android:1.7.26' implementation 'org.slf4j:slf4j-android:1.7.26'
implementation 'com.google.android.gms:play-services-ads:18.0.0'
implementation 'com.android.support:design:28.0.0'
androidTestImplementation 'androidx.test:runner:1.2.0-alpha03'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0-alpha03'
implementation('com.crashlytics.sdk.android:crashlytics:2.10.1@aar') { /*Ads Manager*/
transitive = true implementation 'com.google.android.gms:play-services-ads-lite:18.1.0'
}
implementation 'com.android.support:appcompat-v7:28.0.0' /*Crashlytics*/
implementation 'com.crashlytics.sdk.android:crashlytics:2.10.1'
implementation('com.crashlytics.sdk.android:crashlytics:2.10.1@aar')
} }
apply plugin: 'com.android.application' apply plugin: 'com.android.application'
apply plugin: 'com.google.gms.google-services'

View File

@ -210,10 +210,6 @@ public class viewController
hideSplashScreen(); hideSplashScreen();
} }
} }
else if(msg.what == messages.SHOW_ADS)
{
admanager.getInstance().showAd(true);
}
} }
}; };
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 966 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 344 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 638 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 436 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 250 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 270 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 99 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 544 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 730 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 730 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

30
app/variables.gradle Normal file
View File

@ -0,0 +1,30 @@
/*arm versions*/
project.ext.arm_vname = '180'
project.ext.arm_vcode = 180
/*aarch versions*/
project.ext.aarch_vname = '181'
project.ext.aarch_vcode = 181
/*x86 versions*/
project.ext.x86_vname = '182'
project.ext.x86_vcode = 182
/*x64 versions*/
project.ext.x64_vname = '183'
project.ext.x64_vcode = 183
/*dimension*/
project.ext.dimen = 'abi'
/*firefox version*/
project.ext.firefox_version = "67.0.20190613202504"
project.ext.firefox_channel = ""
/*Application Preferences*/
project.ext.compileSdkVersion = 28
project.ext.minSdkVersion = 21
project.ext.targetSdkVersion = 28
project.ext.versionCode = 126
project.ext.versionName = "126.0"
project.ext.applicationId = "com.darkweb.genesissearchengine"

View File

@ -1,5 +1,3 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript { buildscript {
repositories { repositories {
google() google()
@ -9,7 +7,7 @@ buildscript {
dependencies { dependencies {
classpath 'com.android.tools.build:gradle:3.4.2' classpath 'com.android.tools.build:gradle:3.4.2'
classpath 'io.fabric.tools:gradle:1.29.0' classpath 'io.fabric.tools:gradle:1.29.0'
classpath 'com.google.gms:google-services:4.2.0' classpath 'com.google.gms:google-services:4.3.0'
} }
} }