1
mirror of https://github.com/revanced/revanced-integrations synced 2025-11-21 18:35:37 +01:00

Compare commits

...

17 Commits

Author SHA1 Message Date
bogadana
61ed39722e feat: add array for custom-playback-speed patch (#20) 2022-06-23 01:54:37 +02:00
Robert
54baa3c2e5 Fix: ./gradlew: 23: cd: can't cd to "./ (#19) 2022-06-22 16:55:45 +02:00
Oskar
5dd10f6978 ci: chmod +x gradlew is not required (#15) 2022-06-21 15:08:19 +02:00
Canny1913
9bf804219e feat: hide cast button by default (#12) 2022-06-16 00:09:28 +02:00
oSumAtrIX
d7631f371b fix: info panel removal 2022-06-15 11:05:42 +02:00
oSumAtrIX
a30776f69f feat: reels_player_overlay ads 2022-06-13 20:02:09 +02:00
oSumAtrIX
dcfcc36fb8 fix: containsAd returning true for regular video templates 2022-06-12 01:12:41 +02:00
oSumAtrIX
8ff5f0e68d feat: make containsAd more efficient & add new values 2022-06-11 21:37:26 +02:00
oSumAtrIX
468c72e2a5 refactor: deduplicate code 2022-06-08 15:47:34 +02:00
oSumAtrIX
94c2c9d6e6 feat: additional annoyance removal options 2022-06-08 15:47:34 +02:00
oSumAtrIX
40857b1b34 refactor: remove unnecessary method containsAd(String) 2022-06-08 15:47:33 +02:00
oSumAtrIX
a96bbe6469 feat: app promo banner removal setting 2022-06-08 15:47:22 +02:00
oSumAtrIX
4fd2abc409 Merge pull request #10 from josesilveiraa/patch-1
refactor: rename applicationId
2022-06-07 00:18:36 +02:00
josesilveiraa
d007deedd2 refactor: rename applicationId
Refactor `applicationId` from `revanced.integrationspp` to `revanced.integrationsapp`.
2022-06-06 22:13:25 +00:00
oSumAtrIX
a27ec45be8 feat: additional annoyance removal options 2022-06-05 07:13:03 +02:00
oSumAtrIX
8fb1a251a2 refactor: remove unnecessary method containsAd(String) 2022-06-05 07:12:08 +02:00
oSumAtrIX
30724583e3 feat: app promo banner removal setting 2022-06-04 17:02:16 +02:00
10 changed files with 253 additions and 257 deletions

View File

@@ -26,9 +26,6 @@ jobs:
java-version: '11'
distribution: 'zulu'
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew --no-daemon build

View File

@@ -2,11 +2,12 @@ apply plugin: 'com.android.application'
android {
compileSdkVersion 32
namespace 'vanced.integrations'
defaultConfig {
applicationId "revanced.integrationspp"
applicationId "revanced.integrationsapp"
minSdkVersion 23
targetSdkVersion 31
targetSdkVersion 32
versionCode 1
versionName "1.0"
multiDexEnabled false
@@ -33,6 +34,6 @@ android {
dependencies {
implementation 'androidx.annotation:annotation:1.3.0'
implementation "androidx.constraintlayout:constraintlayout:2.1.0"
implementation "androidx.constraintlayout:constraintlayout:2.1.4"
}

View File

@@ -1,7 +1,4 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="vanced.integrations">
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.SCHEDULE_EXACT_ALARM" />
</manifest>

View File

@@ -139,7 +139,7 @@ public class XGlobals {
public static Boolean suggestionsShown = true;
public static Boolean infoCardsShown = true;
public static Boolean brandingShown = true;
public static Boolean castButtonShown = true;
public static Boolean castButtonShown = false;
public static Boolean tabletMiniplayer = false;
public static Boolean commentsLocation = false;
public static Boolean newActionBar = false;
@@ -153,6 +153,7 @@ public class XGlobals {
public static Integer playbackMS = 2500;
public static Integer reBuffer = 5000;
public static Enum lastPivotTab;
public static float[] videoSpeeds = { 0.25f, 0.5f, 0.75f, 1.0f, 1.25f, 1.5f, 2f, 3f, 4f, 5f };
public static void ReadSettings() {
Context context;
@@ -173,7 +174,7 @@ public class XGlobals {
suggestionsShown = Boolean.valueOf(sharedPreferences.getBoolean("info_card_suggestions_enabled", true));
infoCardsShown = Boolean.valueOf(sharedPreferences.getBoolean("info_cards_enabled", true));
brandingShown = Boolean.valueOf(sharedPreferences.getBoolean("branding_watermark_enabled", true));
castButtonShown = Boolean.valueOf(sharedPreferences.getBoolean("cast_button_enabled", true));
castButtonShown = Boolean.valueOf(sharedPreferences.getBoolean("cast_button_enabled", false));
tabletMiniplayer = Boolean.valueOf(sharedPreferences.getBoolean("tablet_miniplayer", false));
commentsLocation = Boolean.valueOf(sharedPreferences.getBoolean("comments_location", false));
newActionBar = Boolean.valueOf(sharedPreferences.getBoolean("xfile_new_actionbar", false));

View File

@@ -6,7 +6,6 @@ import java.util.Objects;
import fi.razerman.youtube.Helpers.SharedPrefs;
/* loaded from: classes6.dex */
public class BooleanPreferences {
public static boolean isTapSeekingEnabled() {
return SharedPrefs.getBoolean(Objects.requireNonNull(YouTubeTikTokRoot_Application.getAppContext()), "xfile_enable_tap_seeking", true);

View File

@@ -5,11 +5,12 @@ buildscript {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.1.3'
classpath 'com.android.tools.build:gradle:7.2.1'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {

View File

@@ -1,6 +1,6 @@
#Mon Jun 07 19:51:48 CEST 2021
distributionBase=GRADLE_USER_HOME
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-bin.zip
distributionPath=wrapper/dists
zipStorePath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME

227
gradlew vendored

File diff suppressed because it is too large Load Diff

View File

@@ -1,2 +1,2 @@
include ':app'
rootProject.name = "sb"
rootProject.name = "integrations"