mirror of
https://github.com/cheveguerra/FLP_2.0.git
synced 2026-04-17 19:36:42 +00:00
28/9/23 - Modificaciones para que mande la ubicación si no hay cambios durante 15 minutos.
This commit is contained in:
@@ -72,7 +72,7 @@ Sub Service_Destroy
|
||||
End Sub
|
||||
|
||||
Sub NotiMon_NotificationPosted (SBN As StatusBarNotification)
|
||||
If not(Tracker.FLP.IsInitialized) then StartService(Tracker)
|
||||
If Not(Tracker.FLP.IsInitialized) Then StartService(Tracker) 'Si el servicio no esta corriendo, lo iniciamos.
|
||||
Private logger As Boolean = True
|
||||
' Log("-= Notificacion recibida =-")
|
||||
If SBN.PackageName = "com.whatsapp" Then
|
||||
@@ -84,7 +84,8 @@ Sub NotiMon_NotificationPosted (SBN As StatusBarNotification)
|
||||
' Si recibimos un mensaje con la palabra "donde", "Donde" o "bien", entonces mandamos la última ubicación conocida.
|
||||
If SBN.Message.Contains("donde") Or SBN.Message.Contains("Donde") Or SBN.Message.Contains("bien") Then 'Si el mensaje contiene "#NS" y tiene un segundo parametro ...
|
||||
If esMensajeWAValido(SBN) Then
|
||||
CallSub2(Tracker, "dameUltimaUbicacionConocida", Starter.UUC)
|
||||
CallSubDelayed(Tracker, "StartFLP")
|
||||
CallSubDelayed2(Tracker, "dameUltimaUbicacionConocida", Starter.UUC)
|
||||
Log("Mandamos a Server")
|
||||
End If
|
||||
End If
|
||||
|
||||
Reference in New Issue
Block a user