Skip to content

Commit

Permalink
upgraded dependencies, reduced default notif check frequency, correct…
Browse files Browse the repository at this point in the history
…ions on the README file
  • Loading branch information
aldrinzigmundv committed Sep 2, 2024
1 parent fcc631d commit e0e3ba7
Show file tree
Hide file tree
Showing 17 changed files with 193 additions and 169 deletions.
22 changes: 9 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,19 @@

<img src="screenshots/screenshot1.png" alt="Screenshot 1" width="270" height="602"><img src="screenshots/screenshot2.png" alt="Screenshot 2" width="270" height="602"><img src="screenshots/screenshot3.png" alt="Screenshot 3" width="270" height="602">

[<img src="https://play.google.com/intl/en_us/badges/static/images/badges/en_badge_web_generic.png"
[<img src="badges/GetItOnGooglePlay_Badge_Web_color_English.png"
alt="Get it on Google Play"
height="93">](https://play.google.com/store/apps/details?id=io.github.aldrinzigmundv.gitalerts)[<img src="https://images-na.ssl-images-amazon.com/images/G/01/mobile-apps/devportal2/res/images/amazon-appstore-badge-english-black.png"
alt="Get it on amazon appstore"
height="65">](https://www.amazon.com/dp/B0CKY6X629/)
height="63">](https://play.google.com/store/apps/details?id=io.github.aldrinzigmundv.gitalerts)

[<img src="badges/amazon-appstore-badge-english-black.png"
alt="Available at Amazon Appstore"
height="63">](https://www.amazon.com/dp/B0CKY6X629/)

Or download the latest ad-free APK version from the [Releases Section](https://github.com/aldrinzigmundv/gitalerts/releases/latest)

## What is GitAlerts?

A free and open-source, privacy-focused GitHub notifications app.
A free and open-source, unofficial security-focused GitHub notifications app.

GitAlerts provides users the convenience of receiving GitHub notifications right on their mobile devices using only a notification access token. This adds a crucial layer of security by avoiding the need to enter their GitHub passwords, thereby protecting their GitHub repositories from potential risks posed by other apps on their phones.

Expand All @@ -21,16 +23,10 @@ GitAlerts provides users the convenience of receiving GitHub notifications right
* Intuitive and easy-to-navigate interface design
* Customizable notification frequency

## Donate XMR or BTC to Support in Maintaining this App
## Donate XMR to Support this App

Donate XMR to Support this App

<img src="assets/images/monero.png" alt="XMR Wallet QR Code" width="300" height="300">

86cQoPfKTJ2bRfGH5Ts2kzaXCRcVRiX8CUHKc9xmeUmQ8YM8Uzk9S97T5gQaqYu58C9wuFK7opDH7cM9EJyR4V5LAq9RGv4

Donate BTC to Support this App

<img src="assets/images/bitcoin.png" alt="BTC Wallet QR Code" width="300" height="300">

bc1qruus6vnxrww6pqac3hvg6vsepmqv8d66dwjm59
86cQoPfKTJ2bRfGH5Ts2kzaXCRcVRiX8CUHKc9xmeUmQ8YM8Uzk9S97T5gQaqYu58C9wuFK7opDH7cM9EJyR4V5LAq9RGv4
9 changes: 5 additions & 4 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def keystoreProperties = new Properties()

android {
namespace "io.github.aldrinzigmundv.gitalerts"
compileSdkVersion 33
compileSdkVersion 34
ndkVersion flutter.ndkVersion

compileOptions {
Expand All @@ -53,9 +53,9 @@ android {
// You can update the following values to match your application needs.
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration.
minSdkVersion 21
targetSdkVersion 33
versionCode 1
versionName "1.0.0"
targetSdkVersion 34
versionCode 2
versionName "1.0.1"
multiDexEnabled true

}
Expand Down Expand Up @@ -87,4 +87,5 @@ dependencies {
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.2.2'
implementation 'androidx.window:window:1.0.0'
implementation 'androidx.window:window-java:1.0.0'
implementation "androidx.activity:activity:1.6.0-alpha05"
}
3 changes: 2 additions & 1 deletion android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
<application
android:label="GitAlerts"
android:name="${applicationName}"
android:icon="@mipmap/launcher_icon">
android:icon="@mipmap/launcher_icon"
android:enableOnBackInvokedCallback="true">
<activity
android:name=".MainActivity"
android:exported="true"
Expand Down
13 changes: 0 additions & 13 deletions android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,16 +1,3 @@
buildscript {
ext.kotlin_version = '1.8.0'
repositories {
google()
mavenCentral()
}

dependencies {
classpath 'com.android.tools.build:gradle:7.3.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}

allprojects {
repositories {
google()
Expand Down
19 changes: 12 additions & 7 deletions android/settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,21 @@ pluginManagement {
def flutterSdkPath = properties.getProperty("flutter.sdk")
assert flutterSdkPath != null, "flutter.sdk not set in local.properties"
return flutterSdkPath
}
settings.ext.flutterSdkPath = flutterSdkPath()
}()

includeBuild("${settings.ext.flutterSdkPath}/packages/flutter_tools/gradle")
includeBuild("$flutterSdkPath/packages/flutter_tools/gradle")

plugins {
id "dev.flutter.flutter-gradle-plugin" version "1.0.0" apply false
repositories {
google()
mavenCentral()
gradlePluginPortal()
}
}

include ":app"
plugins {
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
id "com.android.application" version "7.3.1" apply false
id "org.jetbrains.kotlin.android" version "1.8.0" apply false
}

apply from: "${settings.ext.flutterSdkPath}/packages/flutter_tools/gradle/app_plugin_loader.gradle"
include ":app"
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added badges/amazon-appstore-badge-english-black.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 5 additions & 2 deletions lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,11 @@ void callbackDispatcher() async {

void main() async {
WidgetsFlutterBinding.ensureInitialized();
runApp(const MaterialApp(
runApp(MaterialApp(
title: "GitAlerts",
home: LoadingPage(),
theme: ThemeData(
useMaterial3: false,
),
home: const LoadingPage(),
));
}
2 changes: 1 addition & 1 deletion lib/pages/homepage.dart
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class _HomePageState extends State<HomePage> {
await _showInfoDialogBox();
bool result = await _getNotificationPermission();
if (result) {
await initializeBackgroundTasks(const Duration(minutes: 15));
await initializeBackgroundTasks(const Duration(days: 1));
}
await storage.write(key: 'setup', value: "done");
} else {
Expand Down
39 changes: 23 additions & 16 deletions lib/pages/loadingpage.dart
Original file line number Diff line number Diff line change
Expand Up @@ -62,22 +62,29 @@ class _LoadingPageState extends State<LoadingPage> {
@override
Widget build(BuildContext context) {
return Scaffold(
backgroundColor: Colors.black,
body: Center(
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
Padding(
padding: const EdgeInsets.all(9.0),
child: Image.asset('assets/icons/icon.png')),
const Padding(
padding: EdgeInsets.all(9.0),
child: Text(
'GitAlerts',
style: TextStyle(color: Colors.white, fontSize: 27.0),
),
backgroundColor: Colors.black,
body: Center(
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
Padding(
padding: const EdgeInsets.all(9.0),
child: Image.asset('assets/icons/icon.png')),
const Padding(
padding: EdgeInsets.all(9.0),
child: Text(
'GitAlerts',
style: TextStyle(color: Colors.white, fontSize: 27.0),
),
],
)));
),
],
)),
bottomNavigationBar: const Padding(
padding: EdgeInsets.all(13.0),
child: SelectableText('Powered by aldrinzigmund.com',
textAlign: TextAlign.center,
style: TextStyle(color: Colors.white, fontSize: 15.0)),
),
);
}
}
Loading

0 comments on commit e0e3ba7

Please sign in to comment.