Тёмный
Petar Luketina
Petar Luketina
Petar Luketina
Подписаться
Комментарии
@sharyar_t
@sharyar_t 2 месяца назад
didn't work Cardinal.on('payments.validated') event. all others work
@gigamgamboa828
@gigamgamboa828 Год назад
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
@royalxflame
@royalxflame Год назад
Good job🔥🔥
@toniboni56
@toniboni56 Год назад
this shit is crazy
@DruidsCalling
@DruidsCalling Год назад
Take it easy, man.
@muco8669
@muco8669 Год назад
I'd like to see part 3 and see how you retrieve the ACS url
@archanasharma9372
@archanasharma9372 Год назад
Amazing voice both of you
@Sofiaaira
@Sofiaaira Год назад
❤️👏🏽
@snackm4515
@snackm4515 Год назад
amazing cover 💯☺️ your voices fit so well together 👌 keep it up 👌
@maureen8997
@maureen8997 Год назад
🥰♥️
@afiqrayyanabdulrahman8136
@afiqrayyanabdulrahman8136 Год назад
cool
@analuketina2990
@analuketina2990 Год назад
This is THE shit!
@PetarLuketina
@PetarLuketina Год назад
*as sunglasses slowly descend onto our faces*
@boronmusicchannel2145
@boronmusicchannel2145 Год назад
すばらしい曲です! so cool!!!
@shauryasharma3787
@shauryasharma3787 Год назад
fuck dude this is fire!!
@borneoviral6379
@borneoviral6379 Год назад
looking for latest version of this tutorial
@IvanLuketina
@IvanLuketina 2 года назад
Good job brother!!! 👏😀
@shauryasharma3787
@shauryasharma3787 2 года назад
That was soooooo gooood! Make more covers!!!!!!!!!!!
@PetarLuketina
@PetarLuketina 2 года назад
I’ll save some songs to cover with you too!😄
@shauryasharma3787
@shauryasharma3787 2 года назад
@@PetarLuketina yasss 🤘🏼
@shauryasharma3787
@shauryasharma3787 2 года назад
♥️♥️♥️
@acework9719
@acework9719 2 года назад
the tutorial is awesome. I tried for weeks to convert data to json before I could send it to firebase. Thanks bro.
@loldjygermain3428
@loldjygermain3428 2 года назад
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 ?
@PetarLuketina
@PetarLuketina 2 года назад
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.
@loldjygermain3428
@loldjygermain3428 2 года назад
@@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
@shubhoum
@shubhoum 2 года назад
Thank you soo much wasted 2 days searching in google at last found this and it worked!!!
@markm9810
@markm9810 2 года назад
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?
@PetarLuketina
@PetarLuketina 2 года назад
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.
@kmoffatt1
@kmoffatt1 2 года назад
Great video. How does this work with various networks' or payment gateway's tokenised pan?
@PetarLuketina
@PetarLuketina 2 года назад
Hey, yes. It's just an extra step or two for tokenization. Just follow the docs and you should be good!
@kmoffatt1
@kmoffatt1 2 года назад
@@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.
@HelloWorld-fh2ge
@HelloWorld-fh2ge 2 года назад
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...
@felipegerhardt8600
@felipegerhardt8600 3 года назад
Thank you for this lecture my bro.
@yogeshvaliya6321
@yogeshvaliya6321 3 года назад
Didn't complete 3rd part ?
@PetarLuketina
@PetarLuketina 3 года назад
Unfortunately not!
@EliasPaiFilho
@EliasPaiFilho 3 года назад
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?
@PetarLuketina
@PetarLuketina 3 года назад
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?
@locckyzywa
@locckyzywa 2 года назад
I using firebase_admin
@sisyphus6852
@sisyphus6852 3 года назад
I keep getting a connection refused by server from my android but not my pc how can I solve this?
@PetarLuketina
@PetarLuketina 3 года назад
I'd see if you have the proper permissions, and your buIldozer looks as it should, etc.
@opensourcesabout8128
@opensourcesabout8128 3 года назад
will this available when I build apk using kivymd as well?
@PetarLuketina
@PetarLuketina 3 года назад
Yes, it should. The requests library is for Python and can go on any Python environment
@priyanshipatel8709
@priyanshipatel8709 3 года назад
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?
@PetarLuketina
@PetarLuketina 3 года назад
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"
@priyanshipatel8709
@priyanshipatel8709 3 года назад
@@PetarLuketina Thanks a Lot!! :-)
@sksahil4374
@sksahil4374 3 года назад
Is it safe to write firebase data base url link in Code ?
@PetarLuketina
@PetarLuketina 3 года назад
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.
@sksahil4374
@sksahil4374 3 года назад
@@PetarLuketina In Android app if I use ..then any one can get that link by decompile my app ..
@PetarLuketina
@PetarLuketina 3 года назад
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!
@sksahil4374
@sksahil4374 3 года назад
@@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
@PetarLuketina
@PetarLuketina 3 года назад
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.
@CMSWisCon
@CMSWisCon 3 года назад
Is it possible to do the same using Pyrebase on Android??
@PetarLuketina
@PetarLuketina 3 года назад
I don't know specifically about Pyrebase, but Android should have a library to send posts to the Firebase backend.
@Aadam-e-Bayzaar
@Aadam-e-Bayzaar 3 года назад
Bruh :D
@sksahil4374
@sksahil4374 3 года назад
Thanks
@naveenkumarm7339
@naveenkumarm7339 4 года назад
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
@tuanazzam5172
@tuanazzam5172 4 года назад
can we directly use 'import firebase' and use its functions to build mobile app instead of importing requests and json??
@PetarLuketina
@PetarLuketina 4 года назад
I'm sure you can for a regular script but some people say they had trouble compiling.
@tuanazzam5172
@tuanazzam5172 4 года назад
@@PetarLuketina Yeah, I faced same problem. I just wanted to make sure. I think your way is the only way it works...Thanks...
@yashmehta7196
@yashmehta7196 4 года назад
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
@endhesyamsuar1830
@endhesyamsuar1830 4 года назад
thanks a lot, it's help me out of my issue
@dhakshnamoorthy8673
@dhakshnamoorthy8673 4 года назад
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
@PetarLuketina
@PetarLuketina 4 года назад
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.
@yashmehta7196
@yashmehta7196 4 года назад
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
@dhakshnamoorthy8673
@dhakshnamoorthy8673 4 года назад
@@yashmehta7196 thank you
@rinshadrasheed9436
@rinshadrasheed9436 4 года назад
Thank you!
@dhakshnamoorthy8673
@dhakshnamoorthy8673 4 года назад
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
@PetarLuketina
@PetarLuketina 4 года назад
You will need to use Patch, I believe. Which functions are you using?
@dhakshnamoorthy8673
@dhakshnamoorthy8673 4 года назад
@@PetarLuketina yeah I'm using patch but it replaces the previous one but I need to add that to the existing one
@PetarLuketina
@PetarLuketina 4 года назад
​@@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.
@dhakshnamoorthy8673
@dhakshnamoorthy8673 4 года назад
@@PetarLuketina thanks a lot u saved me
@Cassio-uc2pq
@Cassio-uc2pq 4 года назад
Hey i got an error, "path p4a.source_dir does not exists"
@PetarLuketina
@PetarLuketina 4 года назад
Hello. When did you get this error? Which line of code triggered the error?
@dhakshnamoorthy8673
@dhakshnamoorthy8673 4 года назад
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
@PetarLuketina 4 года назад
What libraries are you importing?
@PetarLuketina
@PetarLuketina 4 года назад
You can also try to remove parts of your code, the compile to see where the issue actually is.
@dhakshnamoorthy8673
@dhakshnamoorthy8673 4 года назад
@@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
@PetarLuketina
@PetarLuketina 4 года назад
@@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.
@dhakshnamoorthy8673
@dhakshnamoorthy8673 4 года назад
@@PetarLuketina thank you so much Thanks a lot you saved me
@mdAshikuzzamanAkash
@mdAshikuzzamanAkash 4 года назад
can i use python 3 for making ios app? or i have to downgrade to python 2?
@PetarLuketina
@PetarLuketina 4 года назад
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.
@hickorysocks2628
@hickorysocks2628 4 года назад
You’re so handsome :)
@mdAshikuzzamanAkash
@mdAshikuzzamanAkash 4 года назад
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?
@PetarLuketina
@PetarLuketina 4 года назад
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.
@mdAshikuzzamanAkash
@mdAshikuzzamanAkash 4 года назад
@@PetarLuketina great help
@mdAshikuzzamanAkash
@mdAshikuzzamanAkash 4 года назад
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?
@PetarLuketina
@PetarLuketina 4 года назад
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.
@mdAshikuzzamanAkash
@mdAshikuzzamanAkash 4 года назад
@@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?
@PetarLuketina
@PetarLuketina 4 года назад
@@mdAshikuzzamanAkash the tutorial that I showed, I complied it on Android. Unfortunately, I never compiled any apps in iOS.
@mdAshikuzzamanAkash
@mdAshikuzzamanAkash 4 года назад
can i deploy this kind of kivy app on apple store?
@PetarLuketina
@PetarLuketina 4 года назад
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.
@riteshkadam2649
@riteshkadam2649 4 года назад
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 ?
@UmerPKgrw
@UmerPKgrw 4 года назад
if you can make a video on editing tricks using data bricks notebooks for example auto-completion spark = SparkSession.builder.appName('Petarapp').getOrCreate()
@akshay_garje
@akshay_garje 4 года назад
How do you create apk package from kivy? I'm using windows 10 OS
@yashmehta7196
@yashmehta7196 4 года назад
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
@kevinrios1452
@kevinrios1452 3 года назад
You can use Google Colab to package your kivy app with buildozer.