Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,12 @@ plugins {
}

android {
namespace = "com.example.ontime"
namespace = "club.devkor.ontime"
compileSdk = flutter.compileSdkVersion
ndkVersion = flutter.ndkVersion

compileOptions {
coreLibraryDesugaringEnabled = true
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
Expand All @@ -24,14 +25,15 @@ android {

defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId = "com.example.on_time_front"
applicationId = "club.devkor.ontime"
// You can update the following values to match your application needs.
// For more information, see: https://flutter.dev/to/review-gradle-config.
minSdk = flutter.minSdkVersion
targetSdk = flutter.targetSdkVersion
versionCode = flutter.versionCode
versionName = flutter.versionName
manifestPlaceholders = [
applicationName: "android.app.Application",
appAuthRedirectScheme: applicationId
]
}
Expand All @@ -48,3 +50,7 @@ android {
flutter {
source = "../.."
}

dependencies {
coreLibraryDesugaring "com.android.tools:desugar_jdk_libs:2.1.4"
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.example.on_time_front
package club.devkor.ontime

import android.app.AlarmManager
import android.app.PendingIntent
Expand Down Expand Up @@ -86,6 +86,10 @@ class MainActivity : FlutterActivity() {
}

val pendingIntent = pendingIntentFor(args, PendingIntent.FLAG_UPDATE_CURRENT)
if (pendingIntent == null) {
result.error("scheduleFailed", "Failed to create alarm PendingIntent", null)
return
}
val alarmClockInfo = AlarmManager.AlarmClockInfo(triggerAtMillis, pendingIntent)
alarmManager.setAlarmClock(alarmClockInfo, pendingIntent)
result.success(null)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.example.on_time_front
package club.devkor.ontime

import android.app.AlarmManager
import android.app.PendingIntent
Expand Down
2 changes: 1 addition & 1 deletion android/settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ pluginManagement {

plugins {
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
id "com.android.application" version "8.1.0" apply false
id "com.android.application" version "8.3.0" apply false
// START: FlutterFire Configuration
id "com.google.gms.google-services" version "4.3.15" apply false
// END: FlutterFire Configuration
Expand Down
2 changes: 0 additions & 2 deletions macos/Flutter/GeneratedPluginRegistrant.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import firebase_messaging
import flutter_appauth
import flutter_local_notifications
import flutter_secure_storage_macos
import flutter_web_auth
import google_sign_in_ios
import path_provider_foundation
import shared_preferences_foundation
Expand All @@ -25,7 +24,6 @@ func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
FlutterAppauthPlugin.register(with: registry.registrar(forPlugin: "FlutterAppauthPlugin"))
FlutterLocalNotificationsPlugin.register(with: registry.registrar(forPlugin: "FlutterLocalNotificationsPlugin"))
FlutterSecureStoragePlugin.register(with: registry.registrar(forPlugin: "FlutterSecureStoragePlugin"))
FlutterWebAuthPlugin.register(with: registry.registrar(forPlugin: "FlutterWebAuthPlugin"))
FLTGoogleSignInPlugin.register(with: registry.registrar(forPlugin: "FLTGoogleSignInPlugin"))
PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin"))
SharedPreferencesPlugin.register(with: registry.registrar(forPlugin: "SharedPreferencesPlugin"))
Expand Down
8 changes: 0 additions & 8 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -551,14 +551,6 @@ packages:
description: flutter
source: sdk
version: "0.0.0"
flutter_web_auth:
dependency: "direct main"
description:
name: flutter_web_auth
sha256: "95e4856e24fb6ac1678f5ff334743b63f782d839ab324543d29ccbd295176209"
url: "https://pub.dev"
source: hosted
version: "0.6.0"
flutter_web_plugins:
dependency: transitive
description: flutter
Expand Down
1 change: 0 additions & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ dependencies:
http: ^1.2.2
url_launcher: ^6.3.1
shared_preferences: ^2.3.3
flutter_web_auth: ^0.6.0
kakao_flutter_sdk: ^1.9.6
flutter_appauth: ^8.0.1
go_router: ^14.6.2
Expand Down
Loading