Compare commits

...

10 Commits

Author SHA1 Message Date
ReVanced Bot 85712c0e26
Merge 9578c2fb4d into aab5d4411b 2024-04-25 08:26:45 +07:00
hellidox aab5d4411b
docs: Remove duplicate section in README (#1879)
[skip ci]
2024-04-23 18:29:06 +02:00
semantic-release-bot e5d83f424a chore(release): 1.21.0-dev.1 [skip ci]
# [1.21.0-dev.1](https://github.com/ReVanced/revanced-manager/compare/v1.20.1...v1.21.0-dev.1) (2024-04-16)

### Features

* open browser when clicking on changelog link ([bc300d8](bc300d81d9))
2024-04-16 14:39:51 +00:00
Aunali321 bc300d81d9 feat: open browser when clicking on changelog link 2024-04-16 20:00:46 +05:30
dependabot[bot] 5e6cc86c7e
build(deps-dev): bump semantic-release from 23.0.6 to 23.0.7 (#1844)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-05 14:57:28 +07:00
dependabot[bot] d91ea62903
build(deps): bump flutter_local_notifications from 16.3.2 to 17.0.0 (#1848)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-05 14:57:16 +07:00
dependabot[bot] f00dc4d3e6
build(deps): bump flutter_markdown from 0.6.20+1 to 0.6.22+1 (#1851)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-05 14:55:48 +07:00
dependabot[bot] 6c0c961ca0
build(deps): bump build_runner from 2.4.8 to 2.4.9 (#1850)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-05 14:54:31 +07:00
dependabot[bot] a99de99202
build(deps): bump share_plus from 7.2.2 to 8.0.2 (#1853)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-05 14:53:59 +07:00
dependabot[bot] a31ec9d1fe
build(deps): bump permission_handler from 11.3.0 to 11.3.1 (#1852)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-05 14:53:30 +07:00
7 changed files with 130 additions and 55 deletions

View File

@ -98,10 +98,6 @@ To build a ReVanced Manager, you can follow the [documentation](/docs).
You can find the documentation for ReVanced Manager [here](/docs). You can find the documentation for ReVanced Manager [here](/docs).
### đź‘‹ Contributing
Thank you for considering contributing to ReVanced Manager. You can find the contribution guidelines [here](/CONTRIBUTING.md).
## ⚖️ License ## ⚖️ License
ReVanced Manager is licensed under the GPLv3 license. Please see the [license file](LICENSE) for more information. ReVanced Manager is licensed under the GPLv3 license. Please see the [license file](LICENSE) for more information.

View File

@ -26,7 +26,8 @@
android:name="${applicationName}" android:name="${applicationName}"
android:icon="@mipmap/ic_launcher" android:icon="@mipmap/ic_launcher"
android:largeHeap="true" android:largeHeap="true"
android:requestLegacyExternalStorage="true"> android:requestLegacyExternalStorage="true"
android:enableOnBackInvokedCallback="true">
<activity <activity
android:name=".MainActivity" android:name=".MainActivity"
android:exported="true" android:exported="true"

View File

@ -3,6 +3,7 @@ import 'package:flutter_markdown/flutter_markdown.dart';
import 'package:revanced_manager/app/app.locator.dart'; import 'package:revanced_manager/app/app.locator.dart';
import 'package:revanced_manager/gen/strings.g.dart'; import 'package:revanced_manager/gen/strings.g.dart';
import 'package:revanced_manager/ui/views/home/home_viewmodel.dart'; import 'package:revanced_manager/ui/views/home/home_viewmodel.dart';
import 'package:url_launcher/url_launcher.dart';
class UpdateConfirmationSheet extends StatelessWidget { class UpdateConfirmationSheet extends StatelessWidget {
const UpdateConfirmationSheet({ const UpdateConfirmationSheet({
@ -55,15 +56,15 @@ class UpdateConfirmationSheet extends StatelessWidget {
child: Column( child: Column(
crossAxisAlignment: CrossAxisAlignment.start, crossAxisAlignment: CrossAxisAlignment.start,
children: [ children: [
Text( Text(
isPatches isPatches
? t.homeView.updatePatchesSheetTitle ? t.homeView.updatePatchesSheetTitle
: t.homeView.updateSheetTitle, : t.homeView.updateSheetTitle,
style: const TextStyle( style: const TextStyle(
fontSize: 24, fontSize: 24,
fontWeight: FontWeight.bold, fontWeight: FontWeight.bold,
),
), ),
),
const SizedBox(height: 4.0), const SizedBox(height: 4.0),
Row( Row(
children: [ children: [
@ -96,7 +97,7 @@ class UpdateConfirmationSheet extends StatelessWidget {
? model.updatePatches(context) ? model.updatePatches(context)
: model.updateManager(context); : model.updateManager(context);
}, },
child: Text(t.updateButton), child: Text(t.updateButton),
), ),
], ],
), ),
@ -110,31 +111,37 @@ class UpdateConfirmationSheet extends StatelessWidget {
child: Text( child: Text(
t.homeView.updateChangelogTitle, t.homeView.updateChangelogTitle,
style: TextStyle( style: TextStyle(
fontSize: changelog ? 24 : 20, fontSize: changelog ? 24 : 20,
fontWeight: FontWeight.w500, fontWeight: FontWeight.w500,
color: color:
Theme.of(context).colorScheme.onSecondaryContainer, Theme.of(context).colorScheme.onSecondaryContainer,
),
), ),
), ),
Container( ),
margin: const EdgeInsets.symmetric(horizontal: 24.0), Container(
decoration: BoxDecoration( margin: const EdgeInsets.symmetric(horizontal: 24.0),
color: Theme.of(context).colorScheme.secondaryContainer, decoration: BoxDecoration(
borderRadius: BorderRadius.circular(12.0), color: Theme.of(context).colorScheme.secondaryContainer,
), borderRadius: BorderRadius.circular(12.0),
child: Markdown( ),
child: Markdown(
styleSheet: MarkdownStyleSheet( styleSheet: MarkdownStyleSheet(
a: TextStyle( a: TextStyle(
color: Theme.of(context).colorScheme.primary, color: Theme.of(context).colorScheme.primary,
), ),
), ),
shrinkWrap: true, onTapLink: (text, href, title) => href != null
physics: const NeverScrollableScrollPhysics(), ? launchUrl(
padding: const EdgeInsets.all(20.0), Uri.parse(href),
data: snapshot.data!['body'] ?? '', mode: LaunchMode.externalApplication,
), )
: null,
shrinkWrap: true,
physics: const NeverScrollableScrollPhysics(),
padding: const EdgeInsets.all(20.0),
data: snapshot.data!['body'] ?? '',
), ),
),
], ],
); );
}, },

81
package-lock.json generated
View File

@ -10,7 +10,7 @@
"@semantic-release/changelog": "^6.0.3", "@semantic-release/changelog": "^6.0.3",
"@semantic-release/exec": "^6.0.3", "@semantic-release/exec": "^6.0.3",
"@semantic-release/git": "^10.0.1", "@semantic-release/git": "^10.0.1",
"semantic-release": "^23.0.6" "semantic-release": "^23.0.7"
} }
}, },
"node_modules/@babel/code-frame": { "node_modules/@babel/code-frame": {
@ -1575,6 +1575,18 @@
"node": ">=16" "node": ">=16"
} }
}, },
"node_modules/convert-hrtime": {
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/convert-hrtime/-/convert-hrtime-5.0.0.tgz",
"integrity": "sha512-lOETlkIeYSJWcbbcvjRKGxVMXJR+8+OQb/mTPbA4ObPMytYIsUbuOE0Jzy60hjARYszq1id0j8KgVhC+WGZVTg==",
"dev": true,
"engines": {
"node": ">=12"
},
"funding": {
"url": "https://github.com/sponsors/sindresorhus"
}
},
"node_modules/core-util-is": { "node_modules/core-util-is": {
"version": "1.0.3", "version": "1.0.3",
"resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz", "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz",
@ -2068,6 +2080,18 @@
"url": "https://github.com/sponsors/ljharb" "url": "https://github.com/sponsors/ljharb"
} }
}, },
"node_modules/function-timeout": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/function-timeout/-/function-timeout-1.0.1.tgz",
"integrity": "sha512-6yPMImFFuaMPNaTMTBuolA8EanHJWF5Vju0NHpObRURT105J6x1Mf2a7J4P7Sqk2xDxv24N5L0RatEhTBhNmdA==",
"dev": true,
"engines": {
"node": ">=18"
},
"funding": {
"url": "https://github.com/sponsors/sindresorhus"
}
},
"node_modules/get-caller-file": { "node_modules/get-caller-file": {
"version": "2.0.5", "version": "2.0.5",
"resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz",
@ -6132,9 +6156,9 @@
"dev": true "dev": true
}, },
"node_modules/semantic-release": { "node_modules/semantic-release": {
"version": "23.0.6", "version": "23.0.7",
"resolved": "https://registry.npmjs.org/semantic-release/-/semantic-release-23.0.6.tgz", "resolved": "https://registry.npmjs.org/semantic-release/-/semantic-release-23.0.7.tgz",
"integrity": "sha512-/r62F4PNhJZhyZYMobcpcACGwpFNQyaVcSmqZQXG50GMbHSBVZQLCvwafqxO1lDQKVgmGmyCEtOVYzwvzvyhVw==", "integrity": "sha512-PFxXQE57zrYiCbWKkdsVUF08s0SifEw3WhDhrN47ZEUWQiLl21FI9Dg/H8g7i/lPx0IkF6u7PjJbgxPceXKBeg==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"@semantic-release/commit-analyzer": "^12.0.0", "@semantic-release/commit-analyzer": "^12.0.0",
@ -6148,7 +6172,7 @@
"env-ci": "^11.0.0", "env-ci": "^11.0.0",
"execa": "^8.0.0", "execa": "^8.0.0",
"figures": "^6.0.0", "figures": "^6.0.0",
"find-versions": "^5.1.0", "find-versions": "^6.0.0",
"get-stream": "^6.0.0", "get-stream": "^6.0.0",
"git-log-parser": "^1.2.0", "git-log-parser": "^1.2.0",
"hook-std": "^3.0.0", "hook-std": "^3.0.0",
@ -6510,6 +6534,22 @@
"url": "https://github.com/sponsors/sindresorhus" "url": "https://github.com/sponsors/sindresorhus"
} }
}, },
"node_modules/semantic-release/node_modules/find-versions": {
"version": "6.0.0",
"resolved": "https://registry.npmjs.org/find-versions/-/find-versions-6.0.0.tgz",
"integrity": "sha512-2kCCtc+JvcZ86IGAz3Z2Y0A1baIz9fL31pH/0S1IqZr9Iwnjq8izfPtrCyQKO6TLMPELLsQMre7VDqeIKCsHkA==",
"dev": true,
"dependencies": {
"semver-regex": "^4.0.5",
"super-regex": "^1.0.0"
},
"engines": {
"node": ">=18"
},
"funding": {
"url": "https://github.com/sponsors/sindresorhus"
}
},
"node_modules/semantic-release/node_modules/human-signals": { "node_modules/semantic-release/node_modules/human-signals": {
"version": "5.0.0", "version": "5.0.0",
"resolved": "https://registry.npmjs.org/human-signals/-/human-signals-5.0.0.tgz", "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-5.0.0.tgz",
@ -6914,6 +6954,22 @@
"node": ">=0.10.0" "node": ">=0.10.0"
} }
}, },
"node_modules/super-regex": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/super-regex/-/super-regex-1.0.0.tgz",
"integrity": "sha512-CY8u7DtbvucKuquCmOFEKhr9Besln7n9uN8eFbwcoGYWXOMW07u2o8njWaiXt11ylS3qoGF55pILjRmPlbodyg==",
"dev": true,
"dependencies": {
"function-timeout": "^1.0.1",
"time-span": "^5.1.0"
},
"engines": {
"node": ">=18"
},
"funding": {
"url": "https://github.com/sponsors/sindresorhus"
}
},
"node_modules/supports-color": { "node_modules/supports-color": {
"version": "5.5.0", "version": "5.5.0",
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",
@ -7060,6 +7116,21 @@
"xtend": "~4.0.1" "xtend": "~4.0.1"
} }
}, },
"node_modules/time-span": {
"version": "5.1.0",
"resolved": "https://registry.npmjs.org/time-span/-/time-span-5.1.0.tgz",
"integrity": "sha512-75voc/9G4rDIJleOo4jPvN4/YC4GRZrY8yy1uU4lwrB3XEQbWve8zXoO5No4eFrGcTAMYyoY67p8jRQdtA1HbA==",
"dev": true,
"dependencies": {
"convert-hrtime": "^5.0.0"
},
"engines": {
"node": ">=12"
},
"funding": {
"url": "https://github.com/sponsors/sindresorhus"
}
},
"node_modules/to-regex-range": { "node_modules/to-regex-range": {
"version": "5.0.1", "version": "5.0.1",
"resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz",

View File

@ -5,6 +5,6 @@
"@semantic-release/changelog": "^6.0.3", "@semantic-release/changelog": "^6.0.3",
"@semantic-release/exec": "^6.0.3", "@semantic-release/exec": "^6.0.3",
"@semantic-release/git": "^10.0.1", "@semantic-release/git": "^10.0.1",
"semantic-release": "^23.0.6" "semantic-release": "^23.0.7"
} }
} }

View File

@ -85,10 +85,10 @@ packages:
dependency: "direct dev" dependency: "direct dev"
description: description:
name: build_runner name: build_runner
sha256: "581bacf68f89ec8792f5e5a0b2c4decd1c948e97ce659dc783688c8a88fbec21" sha256: "3ac61a79bfb6f6cc11f693591063a7f19a7af628dc52f141743edac5c16e8c22"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "2.4.8" version: "2.4.9"
build_runner_core: build_runner_core:
dependency: transitive dependency: transitive
description: description:
@ -356,10 +356,10 @@ packages:
dependency: "direct main" dependency: "direct main"
description: description:
name: flutter_local_notifications name: flutter_local_notifications
sha256: c18f1de98fe0bb9dd5ba91e1330d4febc8b6a7de6aae3ffe475ef423723e72f3 sha256: f9a05409385b77b06c18f200a41c7c2711ebf7415669350bb0f8474c07bd40d1
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "16.3.2" version: "17.0.0"
flutter_local_notifications_linux: flutter_local_notifications_linux:
dependency: transitive dependency: transitive
description: description:
@ -385,10 +385,10 @@ packages:
dependency: "direct main" dependency: "direct main"
description: description:
name: flutter_markdown name: flutter_markdown
sha256: a64c5323ac83ed2b7940d2b6288d160aa1753ff271ba9d9b2a86770414aa3eab sha256: "31c12de79262b5431c5492e9c89948aa789158435f707d3519a7fdef6af28af7"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "0.6.20+1" version: "0.6.22+1"
flutter_test: flutter_test:
dependency: transitive dependency: transitive
description: flutter description: flutter
@ -563,10 +563,10 @@ packages:
dependency: "direct main" dependency: "direct main"
description: description:
name: language_code name: language_code
sha256: "3124246f599039a89c990d007b00bc41b1526d6400de97cf13a478b7f4b16a83" sha256: "45b5320eedf35075176a6398b5d46c408c423be293280f1a95a92c216e7de40b"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "0.4.2" version: "0.5.1"
leak_tracker: leak_tracker:
dependency: transitive dependency: transitive
description: description:
@ -764,10 +764,10 @@ packages:
dependency: "direct main" dependency: "direct main"
description: description:
name: permission_handler name: permission_handler
sha256: "74e962b7fad7ff75959161bb2c0ad8fe7f2568ee82621c9c2660b751146bfe44" sha256: "18bf33f7fefbd812f37e72091a15575e72d5318854877e0e4035a24ac1113ecb"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "11.3.0" version: "11.3.1"
permission_handler_android: permission_handler_android:
dependency: transitive dependency: transitive
description: description:
@ -780,10 +780,10 @@ packages:
dependency: transitive dependency: transitive
description: description:
name: permission_handler_apple name: permission_handler_apple
sha256: bdafc6db74253abb63907f4e357302e6bb786ab41465e8635f362ee71fd8707b sha256: e9ad66020b89ff1b63908f247c2c6f931c6e62699b756ef8b3c4569350cd8662
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "9.4.0" version: "9.4.4"
permission_handler_html: permission_handler_html:
dependency: transitive dependency: transitive
description: description:
@ -902,18 +902,18 @@ packages:
dependency: "direct main" dependency: "direct main"
description: description:
name: share_plus name: share_plus
sha256: "3ef39599b00059db0990ca2e30fca0a29d8b37aae924d60063f8e0184cf20900" sha256: "05ec043470319bfbabe0adbc90d3a84cbff0426b9d9f3a6e2ad3e131fa5fa629"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "7.2.2" version: "8.0.2"
share_plus_platform_interface: share_plus_platform_interface:
dependency: transitive dependency: transitive
description: description:
name: share_plus_platform_interface name: share_plus_platform_interface
sha256: df08bc3a07d01f5ea47b45d03ffcba1fa9cd5370fb44b3f38c70e42cced0f956 sha256: "251eb156a8b5fa9ce033747d73535bf53911071f8d3b6f4f0b578505ce0d4496"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "3.3.1" version: "3.4.0"
shared_preferences: shared_preferences:
dependency: "direct main" dependency: "direct main"
description: description:

View File

@ -4,7 +4,7 @@ homepage: https://github.com/ReVanced/revanced-manager
publish_to: 'none' publish_to: 'none'
version: 1.20.1+101800016 version: 1.21.0-dev.1+101800017
environment: environment:
sdk: '>=3.0.0 <4.0.0' sdk: '>=3.0.0 <4.0.0'
@ -31,10 +31,10 @@ dependencies:
ref: 560d21c4148b53933313573e7eafca0b0eb9aadf # Branch: specify-namespace ref: 560d21c4148b53933313573e7eafca0b0eb9aadf # Branch: specify-namespace
flutter_cache_manager: ^3.3.0 flutter_cache_manager: ^3.3.0
flutter_file_dialog: ^3.0.2 flutter_file_dialog: ^3.0.2
flutter_local_notifications: ^16.1.0 flutter_local_notifications: ^17.0.0
flutter_localizations: flutter_localizations:
sdk: flutter sdk: flutter
flutter_markdown: ^0.6.14 flutter_markdown: ^0.6.22+1
fluttertoast: ^8.2.4 fluttertoast: ^8.2.4
font_awesome_flutter: ^10.4.0 font_awesome_flutter: ^10.4.0
google_fonts: ^6.2.1 google_fonts: ^6.2.1
@ -48,7 +48,7 @@ dependencies:
ref: 4a6d5e0e22292c8eb160cfb9365b9ea29735fd43 # Branch: master ref: 4a6d5e0e22292c8eb160cfb9365b9ea29735fd43 # Branch: master
package_info_plus: ^6.0.0 package_info_plus: ^6.0.0
path_provider: ^2.0.14 path_provider: ^2.0.14
permission_handler: ^11.0.1 permission_handler: ^11.3.1
root: root:
git: git:
url: https://github.com/validcube/root url: https://github.com/validcube/root
@ -57,7 +57,7 @@ dependencies:
git: # remove once https://github.com/flutter-moum/flutter_screenshot_callback/pull/81 is merged git: # remove once https://github.com/flutter-moum/flutter_screenshot_callback/pull/81 is merged
url: https://github.com/BenjaminHalko/flutter_screenshot_callback url: https://github.com/BenjaminHalko/flutter_screenshot_callback
ref: 1a1616ac91e16cd1f3dd170a81febf27ffce3587 # Branch: master ref: 1a1616ac91e16cd1f3dd170a81febf27ffce3587 # Branch: master
share_plus: ^7.2.1 share_plus: ^8.0.2
shared_preferences: ^2.1.0 shared_preferences: ^2.1.0
skeletons: ^0.0.3 skeletons: ^0.0.3
slang: ^3.25.0 slang: ^3.25.0
@ -73,7 +73,7 @@ dependencies:
dev_dependencies: dev_dependencies:
analyzer: ^6.4.1 analyzer: ^6.4.1
build_runner: any build_runner: 2.4.9
flutter_lints: ^3.0.2 flutter_lints: ^3.0.2
injectable_generator: ^2.1.5 injectable_generator: ^2.1.5
json_serializable: ^6.7.1 json_serializable: ^6.7.1