5
ENCODE_BASE64 Function not working on Android
planned
K
Kevin Lang
I have a login page where a user can enter username and password. To use this values in a request, i convert the string with the formula ENCODE_BASE64 in the format "Username:Password". For some reason android returns an empty string for this instead of the converted value. In the web version everything works fine. In addition, i tried to convert it in a javascript file with the command btoa() which does not work in android but web version aswell.
Log In
C
Curiositylab
Any update when this is planned to be fixed?
V
Valter de Brito
Curiositylab : I have the same problem.
T
Timo Kapanen
planned
K
Karl-Nelson Ekindi
Timo Kapanen: Hi there,
This composer pro platforms really rocks!! Thank you for the amazing service provided for free.
I wish I could vote for this issue but I guess that I miss privileges.
This bug is preventing us from setting up string exchange between AppGyver and backends. Especially as per basic authentication or more complex ones.
Android being the best-selling OS worldwide on smartphones since 2011 and on tablets since 2013 with over three billion monthly active users, from a business perspective this bug is really major. Is it possible to rank it higher and to share with us estimated date of resolution ?
Thanks in advance for your help and feedback
Karl-Nelson
M
Mari Hirvi
Karl-Nelson Ekindi: Sorry for the frustration caused – while we're trying to get this fixed, please check these forum posts for a workaround with the Custom JavaScript flow:
K
Kevin Lang
Hello Timo Kapanen,
thank you for the fast reply. I set up a new simple project to show you the problem:
Name: Test
ID: 317496
You do have two fields: Username and Password. If you enter values, the encoded text should appear in the textfield beneath the title "Base64 Code". This works perfectly fine in Web, but not in Android. I attached two images showing the difference in Web and Android.
Please let me know if you need further information.


T
Timo Kapanen
Hi Kevin Lang and thanks for the test app. We have added the issue to our implementation backlog. Best Regards, Timo Kapanen
K
Kevin Lang
Hi Timo Kapanen!
Thank you very much for the information.
T
Timo Kapanen
under review
T
Timo Kapanen
Hi Kevin Lang and thanks for your report. I made a simple test but could not reproduce the issue. Could you provide the appID of your app to help us study this further. The appID can be found from URL when the app is open in Composer. I would also help to know where in the app the formula can be found. Best Regards, Timo Kapanen
M
Mari Hirvi
Timo Kapanen: New information on this bug:
On Android/iOS:
If I bind
ENCODE_BASE64("hello")
to Text component it works correctly.If I bind
ENCODE_BASE64("hello")
to an "Alert" flow function's property (or to "Open web browser" as the original poster in the thread below), nothing shows up.