Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
Last update, thank you all!
Browse files Browse the repository at this point in the history
  • Loading branch information
luanon404 committed Nov 17, 2023
1 parent 8b18ab9 commit 1f6d2d0
Show file tree
Hide file tree
Showing 38 changed files with 2,658 additions and 2,893 deletions.
15 changes: 15 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
*.iml
.gradle
/local.properties
/.idea/caches
/.idea/libraries
/.idea/modules.xml
/.idea/workspace.xml
/.idea/navEditor.xml
/.idea/assetWizardSettings.xml
.DS_Store
/build
/captures
.externalNativeBuild
.cxx
local.properties
5 changes: 3 additions & 2 deletions README.MD
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
# This project has ended. Thank you for using it. ^^
### You can follow [luanon](https://github.com/luanon404/luanon) project for new webdriver.
# Note

- This project has been **deprecated** and has moved to [luanon](https://github.com/luanon404/luanon).
35 changes: 0 additions & 35 deletions app/build.gradle

This file was deleted.

38 changes: 38 additions & 0 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
plugins {
id("com.android.application")
}

android {
namespace = "com.luanon.seledroid.chromium"
compileSdk = 34

defaultConfig {
applicationId = "com.luanon.seledroid.chromium"
minSdk = 24
//noinspection EditedTargetSdkVersion
targetSdk = 34
versionCode = 2
versionName = "2.0.3"
}

buildTypes {
release {
isMinifyEnabled = false
proguardFiles(
getDefaultProguardFile("proguard-android-optimize.txt"),
"proguard-rules.pro"
)
}
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
}

dependencies {
implementation("com.squareup.okhttp3:okhttp:4.11.0")
implementation("androidx.appcompat:appcompat:1.6.1")
implementation("com.google.android.material:material:1.10.0")
implementation("androidx.webkit:webkit:1.8.0")
}
Binary file removed app/libs/json-20210307.jar
Binary file not shown.
40 changes: 20 additions & 20 deletions app/proguard-rules.pro
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
# Add project specific ProGuard rules here.
# You can control the set of applied configuration files using the
# proguardFiles setting in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html
# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}
# Uncomment this to preserve the line number information for
# debugging stack traces.
#-keepattributes SourceFile,LineNumberTable
# If you keep the line number information, uncomment this to
# hide the original source file name.
# Add project specific ProGuard rules here.
# You can control the set of applied configuration files using the
# proguardFiles setting in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html

# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}

# Uncomment this to preserve the line number information for
# debugging stack traces.
#-keepattributes SourceFile,LineNumberTable

# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile
84 changes: 44 additions & 40 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,65 +1,69 @@
<?xml version='1.0' encoding='utf-8'?>
<manifest
xmlns:android="http://schemas.android.com/apk/res/android"
package="com.luanon.chromium">
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools">

<!-- có quyền truy cập mạng đầy đủ -->
<uses-permission android:name="android.permission.INTERNET"/>

<!-- chạy dịch vụ trên nền trước -->
<uses-permission android:name="android.permission.FOREGROUND_SERVICE"/>

<!-- ngăn điện thoại chuyển sang chế độ ngủ -->
<uses-permission android:name="android.permission.WAKE_LOCK"/>

<!-- Ứng dụng này có thể xuất hiện ở phía trên cùng của các ứng dụng khác -->
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />

<application
android:name=".Application"
android:allowBackup="true"
android:dataExtractionRules="@xml/data_extraction_rules"
android:fullBackupContent="@xml/backup_rules"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:hardwareAccelerated="true"
android:name=".MainApplication"
android:theme="@style/AppTheme">

android:supportsRtl="true"
android:theme="@style/Base.Theme.SeledroidChromium"
android:usesCleartextTraffic="true"
tools:targetApi="31">
<activity
android:name=".SplashActivity"
android:resizeableActivity="true"
android:configChanges="screenSize|smallestScreenSize|screenLayout|orientation"
android:configChanges="screenSize|smallestScreenSize|screenLayout|orientation"
android:exported="true"
android:launchMode="singleTask"
android:supportsPictureInPicture="true"
android:screenOrientation="portrait">
android:resizeableActivity="true"
android:supportsPictureInPicture="true">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<intent-filter>
<data
android:host="com.luanon.seledroid.chromium"
android:scheme="webdriver" />

<action android:name="android.intent.action.VIEW" />

<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
</intent-filter>
</activity>

<activity
android:name=".MainActivity"
android:resizeableActivity="true"
android:configChanges="screenSize|smallestScreenSize|screenLayout|orientation"
android:launchMode="singleTask"
android:supportsPictureInPicture="true"
android:screenOrientation="portrait"/>

<activity
android:name=".DebugActivity"
android:screenOrientation="portrait"/>
android:configChanges="screenSize|smallestScreenSize|screenLayout|orientation"
android:exported="false"
android:launchMode="standard"
android:resizeableActivity="true"
android:supportsPictureInPicture="true" />

<service
android:name=".MainService"
android:exported="true">
android:name=".MainService"
android:launchMode="standard"
android:exported="true">
<intent-filter>
<action android:name="com.luanon.chromium.MainService"/>
<action android:name="com.luanon.seledroid.chromium.MainService" />
</intent-filter>
</service>



<receiver
android:name=".StopServiceBroadCast"
android:enabled="true"/>
android:enabled="true" />

</application>

</manifest>
</manifest>
58 changes: 0 additions & 58 deletions app/src/main/java/com/luanon/chromium/DebugActivity.java

This file was deleted.

Loading

0 comments on commit 1f6d2d0

Please sign in to comment.