token

  1. practicalsoft

    B4X FEED GoogleOauth2 refresh token

    Hello. I use the Googleoauth2 class to send mail. Everything works fine, but when a week or so passes. the access token is not renewed and I get this error: B4X: Getting access token from refresh token... ResponseError. Reason: , Response: { "error": "invalid_grant", "error_description"...
  2. abass

    پایتون تبدیل رشته به دیکشنری در پایتون

    تبدیل رشته به دیکشنری در پایتون # Python3 code to demonstrate working of # Convert String to tuple list # using loop + replace() + split() # initializing string test_str = "(۱, ۳, ۴), (۵, ۶, ۴), (۱, ۳, ۶)" # printing original string print("The original string is : " + test_str) # Convert...
  3. practicalsoft

    B4X FEED [SOLVED] FCM token availability

    Hi all, in the past I sucessfully used FCM for messages destined to group of users (i.e. topics). Today I'm experimenting with messages intended for a single user (i.e. token). What I'm experiencing is that the token seems to become available only on a second launch of the application (or anyway...
  4. practicalsoft

    B4X FEED Stripe.js Integration

    Hi All I have Stripe Payments for a Customer working with the code listed below. This is all good, I created the Payment method for this customer in the Stripe dashboard. However I need to associate and create a payment method with the customer via my own UI in B4A. From reading the...
  5. practicalsoft

    B4X FEED Http POST with token and JSON parameters [SOLVED]

    I'm trying to call a password change method from an API. A token is used for authentication. The parameters that the method expects are: B4X: { "OldPassword": "sample string 1", "NewPassword": "sample string 2", "ConfirmPassword": "sample string 3" } I tried to make a POST using the...
  6. practicalsoft

    B4X FEED Http POST with token and JSON parameters

    I'm trying to call a password change method from an API. A token is used for authentication. The parameters that the method expects are: B4X: { "OldPassword": "sample string 1", "NewPassword": "sample string 2", "ConfirmPassword": "sample string 3" } I tried to make a POST using the...
  7. practicalsoft

    B4X FEED Firebase msg to devices that choose one or more topics

    Hi Scenario: first time app runs, user choose (checkbox) one or more topics from preference activity. when pref activity closes, app should subscribe/unsubscribe from topic(s) and receive only he choosed. now code to subscribe to all topics is from Erel's example. i tried with diff code in...
  8. practicalsoft

    B4X FEED Firebase Get Token doesn't work

    B4X: Private Sub GetToken As String Dim no As NativeObject Dim token As NativeObject = no.Initialize("FIRInstanceID").RunMethod("instanceID", Null).RunMethod("token", Null) If token.IsInitialized Then Return token.AsString Else Return "" End Sub Any help ? B4i v6.80 Firebase v2.50 ادامه مطلب...
  9. practicalsoft

    B4X FEED Server Filter and Wait For

    Can you use wait for in a server filter? Because if I do it like described here in the tutorial, I have no possibility to return in the "filter" sub? B4J Code Snippet - Resumable Subs (wait for / sleep) in server handlers Resumable subs can only work when there is a message queue. By default...
عقب
بالا