iOS Question xui.Msgbox2Async not called in app at start

DeclanOK

Member
Licensed User
This is called from Application_Start when the app starts and works fine when testing. When I upload the app the msgbox is not called.

B4X:
Dim T As String = "See Medicolegal disclaimer?"
    Dim Title As String = "www.makindo.co.uk"
    Dim sf As Object = xui.Msgbox2Async(T, Title, "Yes", "Cancel", "No", Null)
   
    Wait For (sf) Msgbox_Result (Result As Int)


   
    ' Handle the result
    If Result = xui.DialogResponse_Cancel Then
        Log("User cancelled the dialog")
        updated = True
   
        Return
    End If

    If Result = xui.DialogResponse_Negative Then
        Log("User chose No")
        updated = True
       
        Return
    End If

    If Result = xui.DialogResponse_Positive Then
        Log("User chose Yes")
        ' Continue with the process
    End If
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…