hi! just subscribed. question sir. in "GET" how to select just 1 row data? like for example i just want to select the PARENT1 data. hope you can reply. TIA
thank you for this amazing video Dear, i see you used python2.7 for this app, is posible to use python 3 to do the same thing, because i have been trying to use python3 but the application keep crashing in my phone, is think the issue is in the buildozer file but i can't figure it out. can you please help me figure that out ?
This would work in Python 3. You could test if my code is the problem by removing the code then compiling the file. If it works, then it’s an issue with the requests library. But I think your issue is a general one where you cannot compile it properly at all, to which I’d say that I cannot help you since it’s been over 3 years since I compiled my last app. I would reach out to the kivy community.
@@PetarLuketina Hello Dear! thank you for your quick response but i just figured that out by set up the requirements in buildozer like that requirements = python3,kivy,kivymd,pillow,requests,openssl,android,futures,idna, urllib3, chardet, certifi
Truly amazing work...you have no idea of how much this video series has helped me and I am sure many others. Thank you so much. Quick question...after the backend validation of the return JWT and on SUCCESS how does one then link the Cardinal authentication result to the subsequent Authorization/Capture request?...processor id? Xid?
Are you asking how one links Cardinal authentication and card authorization, as in, if you wanted to join them in your SQL server? I would see what unique values are in both responses that can be used as a joining key. Processor id is static, like the merchant id, if we're talking about the same thing. CAVV might be another field. I am not entirely sure because I haven't sent a transaction through authorization in a staging environment.
@@PetarLuketina I was hoping that you would post the link to the page in the documentation. I search and could not find it in the request payload only in the response.
He bro, just to have the data in back side without use the dictionary in TextInput, you can store the TextInput value in a dictionary and use : request.post(url=firebase_url, json=json.loads(json.dumps(the_dictionary_that_store_data))) So thank you for the video, it really helped me...
Good night, Excellent work on this video, it eliminates outdated libraries like pyrebase. In the DELETE part I missed deleting just one document, in your video it shows the total deletion. Would it be possible to answer how the exclusion of a single document would be?
Just the top of my head, I'd get a list of all the files then perform a for-loop on each of the files and delete them. You can skip over the one you want to exclude. Does that make sense?
Sir, I am getting error ImportError: cannot import name 'App' from partially initialized module 'kivy.app' (most likely due to a circular import) (C:\Users\admin\AppData\Local\Programs\Python\Python38\lib\site-packages\kivy\app.py) please tell me what should I do?
Hello. This is a general error not from my tutorial. The error is saying that you cannot import "App". In your code, you might have written "import App" which you cannot do. You should remove "import App"
As long as it's in your backend it should be fine. I know there's extra precaution one could take to secure a variable's value which you could do if you're working with a team.
You're right. I was thinking of a backend for a webserver since I haven't worked on apps in a long time. I would try and see how others get around the fact that someone could get your Firebase credentials if they decompiled the code. Perhaps an Android or Kivy forum. I'm sorry that I couldn't be more help!
@@PetarLuketina okk..But @Erik Sandberg developed android app using firebase ...I don't know how he applied protection ...I want to develop some apps using firebase ...but I am thinking about security
It looks like he wasn't tagged in the comment above. I'd reach out to him via his channel or his email because he's done quite a few projects on mobile as you already know.
Great ! Can you please list out few most popular apps developed using Kivy with firebase and is best idea to develop mobile apps using Kivy in terms of quality and performance ? It helps me to continue with Kivy
I am pretty late but this video helped me a lot ❤️ so thank you so much. Was trying to figure out how to make an apk but was stuck, your suggestion of using request module instead of firebase really helped me out. Also if you are reading this I wanted to update that when importing request module , the buildozer spec file requirements section will include requests,urllib3,chardet,idna So if anyone is stuck while building and deploying apk add these dependencies to the requirements list Also logcat helped me alot to find the missing modules
Can u pls tell how to connect a firebase key or value with a label text in kivy pls tell me . I have no other choices . why do I ask this is whenever I change that key or value eventually that label text also must change according to that pls help me
Hey, unfortunately, this is a Kivy question, and I stopped coding in Kivy. I don't not even have a coding environment for it. Kindly try Stackoverflow.
I am not sure , but one way you can do that is by storing the json value from firebase in a string variable [ str ], and then using object property in your python function , you can do your_label_id.text = str
Hey there when I already have a parent key with 2 child " child1 and child2 " and I enter a new json string with the same parent key but now with one child " child3 " it replaces the previous two child with the new one but I need to add the recent child 3 to the previous one how to add pls help me
@@dhakshnamoorthy8673 Okay, I understand what you need to do. You must add the name of the parent key to the firebase URL. For example, if your URL is "example.firebaseio.com/.json", you add the key after the ".com/" to get "example.firebaseio.com/parent_key/.json". Then you will use the patch function and it will work.
Hi I have written a kivy program using firebase and it worked well but I'm suffering a lot to convert it to an apk so I have decided to run that program temporarily by just copying it and pasting it in pydroid3 so I have installed kivy and all those stuff but also I'm getting an import error: attempted relative import with no known parent package from line " from .firebase_token_generator import FirebaseTokenGenerator " though I have not included that statement in my program pls help me to solve this u r my only choice .....
@@PetarLuketina from kivy.app import App from kivy.uix.label import Label from kivy.uix.gridlayout import GridLayout from kivy.uix.textinput import TextInput from kivy.uix.button import Button from firebase import firebase Only these stuffs help me
@@dhakshnamoorthy8673 so in my video, I never import firebase. I use the requests library to speak with firebase. Have you followed the video from start to finish, or considered using the requests library? What I believe is happening is the firebase library is using dependencies that you do not have.
I know that Python 2 is fully deprecated. I am not sure if buildozer also deprecated the use of Python 2. When I was making apps, there was a way to use Python 3 but it required some extra steps. I am unsure if they standardized Python 3 more. That's something you'll want to ask the community.
hey, i made an android app with android studio, after creating the project in firebase, i selected "for android" option to specify my app is for android OS. now if i make another kivy app for ios, can i use the url of that project which is specified for android? or i have to make another project?
You'll be able to use the same URL. You can post to that URL from any environment, like a command line cURL post or in a Python IDE using the requests library, etc.
when i made an android app with android studio, after creating the project in firebase, i selected "for android" option to specify my app is for android. but you didn't. so dont we need to specify whether the app is for ios or android when we make app with kivy?
There are differences in how you compile the apps but I am unsure of everything you have to do because it has been over a year since I worked on mobile applications. I would ask the community or look at what the documentation says.
@@PetarLuketina ok. just tell me one thing. that ios which you created and made tutorial about that, did you compile that app both for ios and android? or only for ios?
Yeah, you should be able to; however, Apple has many guidelines/restrictions that make it a longer process to publish. They also look at your app to see if it's high quality and allowed to be in their store. With the Kivy compiler, there are also a few parameters that need to be specified which are different from Android. I never published my apps to iOS for these reasons.
Great Content Petar & extremely useful..!! The only concern I had is about Tokenized credit card Number.Will that be accepted in Bin detection as well the order request ?
if you can make a video on editing tricks using data bricks notebooks for example auto-completion spark = SparkSession.builder.appName('Petarapp').getOrCreate()
I know this reply is kind of late, you cannot use buildozer to create apk package on windows. Kivy requires buildozer to build the apk , you can do that by installing a Linux VM or OSX