Hi I am creating a texting app using firebase and would like to encode and decode the messages as i am able to see messages on firebase console
Hello can any one help?
How would you go about decrypting
In JavaScript the functions are atob() and btoa().
You can create a new HTML file and just change the function. Everything else is the same.
[Edit]
I changed the sample project to have both Encrypt and Decrypt. @sc_games you can remix the project to test the changes.
Yes, currently it is using the receiveMessage
function. For the combo to work the code needs to be changed to receiveMessageWithReturnValue
which I have not previously used.
Thank you for the help!
Value From Post Message
does not work. Use Post Message
as in my example.
[Edit]
Just a reminder note, there was a reported problem in the Web Viewer
that it does not work with HTML files added in the project (packaged html).
It should work using the web test
from the computer and if you find it not working from the mobile then you would need to save the HTML file in a cloud/server and use the URL of the file for the Web Viewer
.
please help @muneer
Also i believe your template project is not working anymore
This will not work.
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.