Number of app on Ios misunderstood

hi

what I understood is that you can install on an ios device a single application made with Thunkable?

That’s it ?

1 Like

If you are referring to the TestFlight (pre-publish apps) then yes.

If you refer to published apps in the App Store then you can install as many as your device storage would allow.

hi

thank you, I am reassured :slightly_smiling_face:

one more question if i may

my applications are not of great interest but if someone can decompile an application so easily it can also modify the databases, can’t it?

1 Like

I’m not sure what you mean by this.

Your app will have the Firebase API key and Database URL. If you have rules in place to allow only authenticated users then even having these two pieces of information will not allow the invader to have access to app data.

1 Like

I will think about my concerns and I will finally come back to you on this great forum, no doubt in another post.

thanks

1 Like

Hello @bibbi
I was thinking again about your concerns and I think if you follow this example
https://x.thunkable.com/projectPage/619e8d851d818001049945c2
which will allow you to login a user without the need to use the Sign In component and therefore you will not need to store the API key and Database URL.

You might say that it will not change anything because you are already using the API key and Database URL in the code. Will this is correct but if you use GAS (Google Apps Script) to execute the function and pass the userID and token to Thunkable then you can safely hide these details from anyone decompiling your project.

The drawback of this suggestion is that you will need to execute Web API URL every time you want to get data from your database.

The URL to retrieve data will be in the following structure

https://<DATABASE_NAME>.firebaseio.com/users/name.json?access_token=<ACCESS_TOKEN>
1 Like

hi

I think I understood your suggestion you mention data recovery but that brings other questions to my beginner’s mind what about data changed event, token management ?

thank you for this new development even if it calls into question my future as a low coder

what you are suggesting is a start of code obfuscation but can’t we do the same without using web api ?

1 Like

Token management is the heart of the solution and once the user successfully logs in you will get

  • session token
  • refresh token
  • user ID
  • time the token is valid

You can do a lot with these info.

You can use the GET Web API in a Timer to check the data simulating Data Changed Event.

You will need the Web API to talk to your GAS deployed script and to talk the firebase.

hi

I tried your template with my api key it works
I reproduced the blocks in my application it does not work
I added in my app the api key variable
the blocks here:

1 Like

What error did you get?

I don’t get any error code. weird
I need to take a closer look at my blocks

update:
I used another label to check and it works I wouldn’t look for why

thanks

1 Like

Glad it is working for you.

I still looked for why.
the layout was badly designed :confused: that the label disappeared when I entered the data (too many columns or rows and poorly managed sizes)
I redid the layout

1 Like

This is a long standing issue and the only workaround is to set the screen or the columns to scrollable so that components shift up when the keyboard appears.

1 Like

a big thank-you

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.