Closed neiljaywarner closed 1 year ago
reset: false,
Why are you using this? Do you know what it does?
i do notice JobScheduler triggerDelay: 3585339 Even if this is in milliseconds it seems a bit long. is this https://developer.android.com/reference/android/app/job/JobInfo.Builder#setTriggerContentUpdateDelay(long) Of course, i could be misunderstanding
reset: false,
Why are you using this? Do you know what it does? I would like to become more confident when to use it and when not to, however, I'm using this sample app advanced from home_view.dart to tie it to settings, since that a requirement for our app.
reset: false, // <-- lets the Settings screen drive the config rather than re-applying each boot.
Config supplied to .ready(config) is consumed only at the first install and launch. Thereafter, the Settings screen drives the Config.
Config.reset was implemented purely for myself and my own testing with the demo app.
You cannot modify the Config to .ready and except it to be consumed.
I was pretty sure it was my mistake but it was at least the second time i did something wrong, please try to be patient while I'm sorting through it. Upon app install the schedule included 5:45 which is only in 15 minutes so i imagine i should hear it beeping soon and i will close the ticket; my apologies with scheduleUseAlarmManager: false how close would i expect it to be ? i guess within about 5 or 10 minutes or less depending on what else I have on my phone?
Set reset: true. Then the Config will be consume at each launch.
I did not open the app but i heard a beep and the app info shows location accessed at 5:34pm despite the schedule being '1-7 17:45-18:45', is this expected because it's "close" to 17:45, or is this something else? I do notice no location reported at tracker.transistorsoft.com so maybe it's not a problem and I'll get clear info in a bit. thanks for the scoop so far, i think you are right and i just need to be more careful with steps to reproduce and clear storage+uninstall
Schedules do not fire early.
cool, sounds good. I'm closing this then as my mistake. thanks again for a great plugin! (locations showed up without opening the app within about 1-2 minutes)
Your Environment
Plugin version:
Platform: iOS or Android
OS version: Android 14 beta
Device manufacturer / model: Google Pixel 6
Flutter info (
flutter doctor
): neil.warner@88-66-5a-55-ea-64 example % flutter doctor Doctor summary (to see all details, run flutter doctor -v): [✓] Flutter (Channel stable, 3.13.3, on macOS 13.5.2 22G91 darwin-x64, locale en-US) [!] Android toolchain - develop for Android devices (Android SDK version 34.0.0) ✗ Android license status unknown. Runflutter doctor --android-licenses
to accept the SDK licenses. See https://flutter.dev/docs/get-started/install/macos#android-setup for more details. [✓] Xcode - develop for iOS and macOS (Xcode 14.3.1) [✓] Chrome - develop for the web [!] Android Studio (not installed) [✓] VS Code (version 1.82.0) [✓] Connected device (2 available)Plugin config: