Now updated to work with the latest itoo and melonNotifcation extensions. See the Summary post (#9) for more details.
I was going to use the firebase ona and was wondering if its safe, like, since rules are read and edit true, can't anyone view and edit it? And also is the api key in appinventor safe for production? Isn't it still viewable somewere in the source code of the apk?
If you have secure rules and firebase authentication for users in place, then there should be no issue with the API key or firebase url.
but isn't
"itoo": {
".read": true,
".write": true
?? if yes then everyone can see and edi that right? and if not then how do i make it view and edit it?
You can always use the user signin idtoken and set the itoo rules accordingly. The examples here, as stated are the very basics for what is required. You can expand on them and secure as required.
I worked up a method here
for the google sheets example, to send notifications to individual devices, based upon the uuid of the user. It is a basic example, but the same approach could possibly be applied to other methods in this topic.
Wait does this work when you are not inside app? How?
Seems you need to settle down for an hour or two, and read this topic:
ok I undestand now, I do have a question tho, whats the difference between example one and two?
That was quick!
Well, if you read through each one you will see.
- Uses DataChanged event
- Uses a Clock timer
Hello Developers,
I using Itoo+MelonNotification for a chat app using firebase for connection of users. but the problem is that I can not set the Project Bucket of firebase in the designer section, because the Project Bucket of each user is his/her phone number which he/she will enter in the specific text box after installing.
this is my firebase structure:
and these are my blocks:
these blocks didn't worked while the app is live of killed. can anyone help how to fix.
I have an example a few posts above that handles individualised messages using google sheets. Perhaps you can use this to apply it to Firebase ?
If you mean this post, unfortunately I couldn't understand, I am not specialized in coding, if is possible for you please give me a little more details. Thank you in Advance .
In the example I showed, the simplest approach is with regard to what happens in the fetchMessage block:
When a "notification" message arrives, if the data sent in the message contains the user's id (UID) then set the notification. It could be that you have to create the message containing all the UIDs of all the users, but only set a notification for the user's device with the matching UID. I have not tried it, but the message "setter" could select from a list of UIDs to add to a message.
Also, how do you intend to keep your data and that of your users safe and secure ?
Thanks for your help,
I arranged my blocks like below but I couldn't get notification when the app is open or closed, I check it in Samsung Tablet S6,
I will be grateful if you have a look,
for keeping data safe, I am not sure how much is possible, but I will try to use Phone Authentication or Data encryption.
Are you compiling your app to test ?
Do you get any error messages ?
Use the Notifier.LogInfo method to add some debug statements and use logcat to debug
Taifun
Now use logcat to find out what's going on
Taifun
Have you set the itoo property uid to the user's phone number ? I do not see a block for that ?
What is in your "message" ?
What is your full web1.Url, the end part is not shown?
Also need to see the value of responseContent being returned?