B4J Question Push server token life

marcick

Well-Known Member
Licensed User
Longtime User
Not sure where to post this question ...

When a device register to the pushserver, is its token permanent or will it expires after some time ?

Second question:
With the code below that I see in App_Start of push server, I expect to be logged a list of the token.
But nothing is logged and the db contains token for sure. Any error ?

B4X:
    For Each row() As String In DBUtils.ExecuteMemoryTable(db, "SELECT name FROM sqlite_master WHERE type='table'", Null, 0)
        Log($"Table: ${row(0)}"$)
    Next
 
Top