- Se paso la logica y restricciones de Tracker.FLP_LocationChanged a Subs.mandaLoc2.

- Se puso que con cualquier notificacion revise si puede mandar la ubicacion.
- Se puso que cuando se solicite la ubicacion con FirebaseMessaging, se mande tambien a PUSH_INFO.
This commit is contained in:
2024-05-11 04:26:09 -06:00
parent 8524dcd75e
commit 59b0831740
7 changed files with 112 additions and 57 deletions

View File

@@ -22,7 +22,6 @@ Sub Process_Globals
Dim run As Int = 0 'ignore
Dim devModel As String
Dim lastLocUpdate As String = 0
Dim logger As Boolean = True
Dim errorLog As SQL
Dim PE As PhoneEvents
Dim PhId As PhoneId
@@ -31,7 +30,9 @@ Sub Process_Globals
Dim isIncoming As Boolean
Dim lastState As String = "IDLE"
Dim savedNumber As String
Dim locAntTime As String = "0"
Dim logger As Boolean = True
End Sub
Sub Service_Create
@@ -39,7 +40,6 @@ Sub Service_Create
'This is a good place to load resources that are not specific to a single activity.
Subs.revisaBD
CallSubDelayed(FirebaseMessaging, "SubscribeToTopics") 'Para FirebaseMessaging
lastState = "IDLE"
PE.InitializeWithPhoneState("PE",PhId)
End Sub