Fix timer not always ending - 2.3 🚀
This bug is because I mis-named the event for the alarm finishing. It would only be possible to create this bug if you do the following: 1. Create a timer 2. Swap to another app for it's duration and keep your phone screen active 3. On timer completion, without tapping the notification, focus the app 4. See the timer has not been set to zero
This commit is contained in:
parent
b485175082
commit
cc6b37e16a
|
@ -85,8 +85,8 @@ android {
|
|||
applicationId "com.massive"
|
||||
minSdkVersion rootProject.ext.minSdkVersion
|
||||
targetSdkVersion rootProject.ext.targetSdkVersion
|
||||
versionCode 36217
|
||||
versionName "2.2"
|
||||
versionCode 36218
|
||||
versionName "2.3"
|
||||
}
|
||||
signingConfigs {
|
||||
release {
|
||||
|
|
|
@ -144,7 +144,7 @@ class AlarmModule constructor(context: ReactApplicationContext?) :
|
|||
context.startForegroundService(Intent(context, AlarmService::class.java))
|
||||
context
|
||||
.getJSModule(DeviceEventManagerModule.RCTDeviceEventEmitter::class.java)
|
||||
.emit("finish", Arguments.createMap().apply {
|
||||
.emit("tick", Arguments.createMap().apply {
|
||||
putString("minutes", "00")
|
||||
putString("seconds", "00")
|
||||
})
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "massive",
|
||||
"version": "2.2",
|
||||
"version": "2.3",
|
||||
"private": true,
|
||||
"license": "GPL-3.0-only",
|
||||
"scripts": {
|
||||
|
|
Loading…
Reference in New Issue