You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
IF YOU DON'T ANSWER THIS TEMPLATE - THE BOT WILL AUTOMATICALLY CLOSE YOUR ISSUE!
Please check all of the platforms you are having the issue on (if platform is not listed, it is not supported)
iOS
Android
UWP
watchOS
tvOS
Tizen
.NET Standard
Feature Library
Core
BluetoothLE
Beacons
Locations
HTTP Transfers
Notifications
Sensors
Version of Library
1.0.0.307-beta
Version of OS(s) listed above with issue
v4.4 - KitKat
Should be any Android version with API level less than 21 - Lollipop
Steps to Reproduce
Call AndroidShinyHost.Init on an Android device with Android 4.4
Expected Behavior
Shiny should initialize without any exceptions on Android 4.4.
Actual Behavior
A null reference exception is thrown in the Shiny.Jobs.ServiceExtensions class in StopJobService and StartJobService because the call to NativeScheduler returns null. According to this page, JobScheduler was introduced in API level 21.
Making the two changes in my screenshot below from the Shiny.Core > Jobs > Platforms > Android > ServiceExtension.cs file provided a workaround for me to avoid the exception.
The text was updated successfully, but these errors were encountered:
IF YOU DON'T ANSWER THIS TEMPLATE - THE BOT WILL AUTOMATICALLY CLOSE YOUR ISSUE!
Please check all of the platforms you are having the issue on (if platform is not listed, it is not supported)
Feature Library
Version of Library
1.0.0.307-beta
Version of OS(s) listed above with issue
v4.4 - KitKat
Should be any Android version with API level less than 21 - Lollipop
Steps to Reproduce
Expected Behavior
Shiny should initialize without any exceptions on Android 4.4.
Actual Behavior
A null reference exception is thrown in the Shiny.Jobs.ServiceExtensions class in StopJobService and StartJobService because the call to NativeScheduler returns null. According to this page, JobScheduler was introduced in API level 21.
Making the two changes in my screenshot below from the Shiny.Core > Jobs > Platforms > Android > ServiceExtension.cs file provided a workaround for me to avoid the exception.
The text was updated successfully, but these errors were encountered: