Many thanks! I did a code along with this video and used typescript on both android and ios. The android version automatically stops listening if you stop speaking for a second or two. I had to handle it differently. I look forward to more videos from you. Thank you
@@ajaychawda682 my voice is not changing in the text format ...if i print the result in the console then it is visible but not added in the ui of mobile
I know how to make a backend using fast api python but I have no idea how to plug it to the React Native front end. Can you make a tutorial about using React Native for fontend and python for the backend?
Sir nice work i most say, but you should have allowed user to type text also to get answers, that way it will be more fantastic,if possible try and implement.thank for the effort sir
Thanks for your amazing tutorial. I did a code along with this video on ios. And I found out that If I call Tts.speak() after voice.stop(), Tts.speak() would n't speak. I do not why voice.stop() prevent Tts.speak() from speaking. Can you help? Thanks!
For the error speech error handler: {"error": {"message": "7/No match"}}, give microphone permission from your emulator to host device in the emulator settings
@@monikadewangan7619 as I said go to emulator settings and give permission for microphone to the host device, right now your voice is not getting registered as permission is not granted
@@monikadewangan7619 Give permission from your emulator setting to listen through the host ( your pc ) and take commands, right now what might be happening is that your voice is not getting registered
hey Nomi .when i'm giving the first prompt it does'nt give me any response and when I try to give second prompt it gives an error called Request failed with status code 429?
Is anyone else having trouble setting up the environment? The second it gets working something seems to pop up. Right now its saying "RNSScreenStackHeaderConfig not being found in the UIManager."
You beautiful man! 🤣 This is amazing. Thanks you so much. Do you believe it’s possible to do a conversational bot trained on your own data with this development?
Good Evening Sir, I am trying to create this app but i don't have the images. can you provide the all images which are use in this project? also I'm trying to find this images on your git hub account but i could not find anything.
amazing brother ❤. I am totally new to react native and I have started with expo, so can you please guide me which cases should I use expo or react native cli pls
For now I'll suggest you to use expo and as you gain a little experience move to cli approach because expo is limited when it comes to native features. For larger projects you may need to use the cli approach because it lets you control all native features.
Why I'm getting this type of error ? error : [TypeError: Cannot read property 'startSpeech' of null] I'm running this app on my expo application. Any solution. Please help me!
Hey nomi, Screen Component itself having built-in naviagtion in props, but why you took the useNavigation hook additionally. is there any specific reason for that like performance incease
Thank you for the video ! It's really helpful. I am trying to make this app with expo but getting error while using react native community voice. Error - error - [TypeError: Cannot read property 'startSpeech' of null]
At 11:59, I run the app using npm start and get an error message: Unable to resolve module ../screens/HomeScreen.js from /mfj-ai-app-project/navigation/index.js None of these files exists: *screens/Homescreen.js (.native| .ios.ts|.native.ts| .ios.tsx ...........Many more strings. Iam completely stuck and the app will not run anymore. I am using Expo and not bare React Native CLI
I am facing this error plz solution permanent. react-native run-android error "Task :app:javaPreCompileDebug FAILED" 1.: I tried to delete the android/app/build folder and all seems to work fine but only the first time. When I recompile (without deleting the folder) I get: 2.) I need to delete the build folder every time before run the project?
@@codewithnomi bro, I have watched your video 3 times but when I code there are dependencies version issue, I what if I clone the repo and change the openai api key, 🗝️ I mean the only thing is to change the open ai api key or any others packages too ?
cant get the voice recording work in android phone, ERROR Error starting voice recording: [TypeError: Cannot read property 'startSpeech' of null], Anyone solved this yet?
There can be two reasons for this error: 1) open AI api is limited to only 3 api calls per minute if you are using the free version. 2) check your open AI api key usage, if it says expired then you will need to use a new account to create an api key. I hope these will resolve your issue
Asalam O Alikum Nomi Bhai ! LOVE YOUR VIDEO ... Please Could You Please Make A Complete Course on React Native CLI in which we Cover Each and Every Topic of React Native !! It will be very Grateful act from your side brother ❤ Eagerly Awaiting Brother ❤ for your Response JAZAKALLAH KHAIR ❤❤❤
any idea why this keeps happening when I go to launch in expo Invariant Violation: `new NativeEventEmitter()` requires a non-null argument., js engine: hermes Invariant Violation: "main" has not been registered. This can happen if: * Metro (the local dev server) is run from the wrong folder. Check if Metro is running, stop it and restart it in the current project.
@@codewithnomi it's because I'm on windows trying to get it to work with Expo and Expo Go, I can't seem to get around these errors. I've been trying things for days. Any ideas?
@@codewithnomi is there any avenue i can take to get it working on windows? I will use CLI if that works... But i thought cli was expo cli? Or is there another cli. Sorry i am still learning, but id really love to get this repo working on windows computer somehow, as i only have a windows to design with. Any help would be super super appreciated. I will drive traffic to your twitter from our business HumAInProduct as a thank you.
you may be using an expired api key. Go to openAI api section, check your api usage, if it says expired then you will need to use a new account to create an api key. I hope this will resolve your issue.
Hi, I am getting this error on Android when I press the Record button. LOG Error [TypeError: Cannot read property 'startSpeech' of null] How you do grant permissions in Android?
after cloning the repo , changing the open ai key and enabling required permitions in android folder ( on windows ) i am getting this error when i press recording button i see this error in the log ``` LOG speech start event {"error": false} LOG speech start event {"error": false} LOG results LOG speech stop event {"error": false} LOG speech error: {"error": {"message": "7/No match"}} LOG speech start event {"error": false} LOG speech start event {"error": false} LOG speech start event {"error": false} LOG speech start event {"error": false} LOG speech stop event {"error": false} LOG speech error: {"error": {"message": "7/No match"}}``` pl help me to fix this 😢😢
Text to speech not working on android (i used usage in android) and my recording button needs to be tapped again to get user and assistant response. Please help
There can be two reasons for this error: 1) open Al api is limited to only 3 api calls per minute if you are using the free version. 2) check your open Al api key usage, if it says expired then you will need to use a new account to create an api key. hope these will resolve your issue
Many thanks! I did a code along with this video and used typescript on both android and ios. The android version automatically stops listening if you stop speaking for a second or two. I had to handle it differently. I look forward to more videos from you. Thank you
can you tell me the solution , I implemented react-native-voice, its working on ios but it doesn't work on android
@@usmanrasheed626 i did not done manual linking on android. still its working for me.
can you explain how to convert it into android build
@@ajaychawda682 my voice is not changing in the text format ...if i print the result in the console then it is visible but not added in the ui of mobile
my voice is not changing in the text format ...if i print the result in the console then it is visible but not added in the ui of mobile
I know how to make a backend using fast api python but I have no idea how to plug it to the React Native front end. Can you make a tutorial about using React Native for fontend and python for the backend?
Have you found any related videos? If yes then please share the link
Awesome work, hats off!
in love with your voice
Sir nice work i most say, but you should have allowed user to type text also to get answers, that way it will be more fantastic,if possible try and implement.thank for the effort sir
I thought the same after uploading the video 😅, will add it to the project when i get the time 😉
@@codewithnomi Thank You Sir, I Will be Counting on you sir
If possible use Expo sir
Thank you for your videos, can u please show us how to change font family using nativewind and add navigation like bottom navigtion
amazing. Please make a complete Food delivery app with admin and user panel🥰
did you check this video:
th-cam.com/video/v-zxqkz1T8E/w-d-xo.html
@@codewithnomibrother open ai api key not free it's paid 😕..make voice asitant using any free api
Can you please tell me how to implement user authentication for this particular app??
trying to get this working with expo on windows any help appreciated
Thanks for your amazing tutorial. I did a code along with this video on ios. And I found out that If I call Tts.speak() after voice.stop(), Tts.speak() would n't speak. I do not why voice.stop() prevent Tts.speak() from speaking. Can you help? Thanks!
Remarkable stuff! Learning so much from your videos! Is there a way to deploy it and show people like you can with Expo?
sure, I'll create a video on deployment 🙂
@@codewithnomi that would be aweome thank you!! if you could also show us how you add your projects to github that would be awesome as well!!!
@@codewithnomi brother when i generate the build then tts engines not installed error come in the android
my voice is not changing in the text format ...if i print the result in the console then it is visible but not added in the ui of mobile
Very informative
Cute UI 😊😊
For the error speech error handler: {"error": {"message": "7/No match"}}, give microphone permission from your emulator to host device in the emulator settings
How you solve this error
@@monikadewangan7619 as I said go to emulator settings and give permission for microphone to the host device, right now your voice is not getting registered as permission is not granted
@@monikadewangan7619 Give permission from your emulator setting to listen through the host ( your pc ) and take commands, right now what might be happening is that your voice is not getting registered
Hello, maybe do you now how manually or automatically link the NativeModule on Android?
Is it possible to use OLLama Local server for this exact thing?
thanks for this can u use typescript in the next projects ?
I will try
Thanks for the tutorial video. Can you explain to me what the question mark in this code means and what is its function? res?.data?.data[0]?.url
It means if not null in general. In strings it means not null or empty string. In arrays it means the array not null or empty array
hey Nomi .when i'm giving the first prompt it does'nt give me any response and when I try to give second prompt it gives an error called Request failed with status code 429?
check your api usage, maybe your api usage is full, if yes then create a new open ai account and use that api
Thank you.and i tried that method also but it did't get resolved. is there any other alternatives?@@codewithnomi
and i'm doing it in windows
@@codewithnomi
Is anyone else having trouble setting up the environment? The second it gets working something seems to pop up. Right now its saying "RNSScreenStackHeaderConfig not being found in the UIManager."
you need to link the navigation library with react native, run these commands:
1) cd ios
2) pod install
I build react native apps with expo. Will I be able to follow this tutorial ?? Will all npm packages work with expo ??
Not sure, you'll have to try 😉
You beautiful man! 🤣 This is amazing. Thanks you so much. Do you believe it’s possible to do a conversational bot trained on your own data with this development?
Can you make something like this in expo as I'm new to react native so I wanna try it
Please give the link of the assets file
very awesome tutorial sir! can i use expo cli for this one? im planning to add it on my portfolio 😊 thank you
You can, but some libraries may not work in expo so you'll have to find their fixes online.
For dall-e, chatgpt and smart api for these three api's Do we have to give separate cost ?
hey are u using android emulator or iphone emulator...if android then tell me how properly link voice package ..my voice is not changing in the text
Brother plz try to make mroe awesome project of ai using react native it will be helpfull for us
This was a very informative video. I Thank You for your effort and hard work. Is it possible to convert this into a Web application?
Good Evening Sir, I am trying to create this app but i don't have the images. can you provide the all images which are use in this project? also I'm trying to find this images on your git hub account but i could not find anything.
Bhaia sukeria.Ap Great Ho.
thank you for all the amazing content! I would like to ask you if you intend to build an app with the latest expo router? expo 49 is released!
sure, I'll check
what is the best npm package for voice to text in expo
Finally 🎉❤
Hi bro I am premkumar I want the project "voice assistant app with chatgpt and dalle" but payment method is not working in ur website
in metro bundler it is giving me, speech error handler: {"error": {"message": "7/No match"}}, and i search everywhere but i didn't get a solution
await Voice.start('en-US'); use this
Same Issue have you find solution of it?
i want to add a feature which is AI generating videos , is that possible ?
Thanks a lot for this video.
Sir Thanks for this Project
amazing brother ❤. I am totally new to react native and I have started with expo, so can you please guide me which cases should I use expo or react native cli pls
For now I'll suggest you to use expo and as you gain a little experience move to cli approach because expo is limited when it comes to native features. For larger projects you may need to use the cli approach because it lets you control all native features.
@@codewithnomi thanks bro ❤
Why I'm getting this type of error ? error : [TypeError: Cannot read property 'startSpeech' of null]
I'm running this app on my expo application. Any solution. Please help me!
how to link react-native-community/voice with expo react native project
hello sir. The work is very good. What should I do to run this application in Android emulator on my Windows device? I'm new to React Native
Did you found solution?
@codewithnomi I always get the following error AxiosError: Request failed with status code 429, it's because the openAI API is not free ?
Hey nomi, Screen Component itself having built-in naviagtion in props, but why you took the useNavigation hook additionally. is there any specific reason for that like performance incease
can you add the timestamp from the video, I'm not really sure what you are talking about!!!
can i do the same dev. in windows too!? bcz you are using ios..
I was working on e-commerce but I saw, he upload this video then i foget that i was working on e-commerce and now i am creeating this asistaant
thanks 😄
does it working?
@@ajaychawda682 yes
Thank you for the video ! It's really helpful. I am trying to make this app with expo but getting error while using react native community voice. Error - error - [TypeError: Cannot read property 'startSpeech' of null]
use react native cli instead of expo. Worked when i switched
At 11:59, I run the app using npm start and get an error message: Unable to resolve module ../screens/HomeScreen.js from /mfj-ai-app-project/navigation/index.js
None of these files exists:
*screens/Homescreen.js (.native| .ios.ts|.native.ts| .ios.tsx ...........Many more strings. Iam completely stuck and the app will not run anymore. I am using Expo and not bare React Native CLI
in windows i m facing issue for react-native-tts.... help needed
can I make this app using expo cli.
Off course you can, you will need to use the voice and text libraries that work with expo
Best part: "Quatum computing is an area of blah, blah, blah" 😂
😄
I cannot see the assets in the git hub repo, please help
Will this work onn Android?
I am facing this error plz solution permanent.
react-native run-android error "Task :app:javaPreCompileDebug FAILED"
1.: I tried to delete the android/app/build folder and all seems to work fine but only the first time. When I recompile (without deleting the folder) I get:
2.) I need to delete the build folder every time before run the project?
thank you sir for the great app, i have clone your repo from github but the voice doesn't work. It seem like doesn't hear what i say
build the pod file and reinstall all the modules, also check your mic then give it a try
@@codewithnomi if I'm on windows should I also download pod etc and paste some code in iOS?? Plz tell us for android devices
@@ZeshanMukhtar1 you don't need to generate pods for android on windows
@@codewithnomi bro, I have watched your video 3 times but when I code there are dependencies version issue, I what if I clone the repo and change the openai api key, 🗝️ I mean the only thing is to change the open ai api key or any others packages too ?
@@codewithnomi bro I'm facing an error when I start playing mic it is logging an error that that is from error handler ، Can U help
Assets Folder Link???
if you add can you send me
Thank you 🎉❤😊
what mac are you using for development?
macbook m2 pro, but it's more than enough
cant get the voice recording work in android phone, ERROR Error starting voice recording: [TypeError: Cannot read property 'startSpeech' of null], Anyone solved this yet?
hello i have a question. Why do you use tailwind ?
Fast development
@@codewithnomi but so many people dont know tailwind. İf i want to use tailwind , sholuld i learn tailwind
@@emresen7644 well its very easy to use, classes are self explanatory but its not necessary, you can use other UI kits or stylesheet 😊
@@codewithnomi thank you 😀😀 i like your projects and videos
Can you make a tutorial on how to build a point of sale application using react native
will do in future 😉
Thank you my role model. I will wait for the good news
At last, new app🎉
I'm getting this error. "Axios Request failed with status code 429"
There can be two reasons for this error:
1) open AI api is limited to only 3 api calls per minute if you are using the free version.
2) check your open AI api key usage, if it says expired then you will need to use a new account to create an api key.
I hope these will resolve your issue
@@codewithnomi you're correct. it's my account expired. Thanks a lot!
@@chamaldezilva Did your issue resolve? Or is there no way to use open ai api for free
assalaam alykum, please i have been encountering error 429 from axios and the voice library is not rendering my request to the apiCall.😔😔
did u found solution to error 429
No
i had the same error and i don't found a solution too
I am using react native 0.72.4 tsx template twailind installation. but when I apply className=" twailwind class names " app crashes
I'll create a video on tailwind setup in react native using typescript
sir plz add functionality how we save images in gallery when we ask ChatGPT for create image
ah, I should've added this feature 😕. I'm sure you'll find a way to do this 😉.
Thank you
very valuable knowledge, thanks for sharing
Can someone help me with the error "request failed with status code 429 " I am getting this error while integrating the open AI chat API every time
did u get solution
@yashseth4626 yes, it is because Now Open AI API is not free you have to pay for it...
Asalam O Alikum Nomi Bhai ! LOVE YOUR VIDEO ... Please Could You Please Make A Complete Course on React Native CLI in which we Cover Each and Every Topic of React Native !! It will be very Grateful act from your side brother ❤ Eagerly Awaiting Brother ❤ for your Response JAZAKALLAH KHAIR ❤❤❤
WS!
sure brother, noted.
@@codewithnomi ❤❤❤
any idea why this keeps happening when I go to launch in expo Invariant Violation: `new NativeEventEmitter()` requires a non-null argument., js engine: hermes
Invariant Violation: "main" has not been registered. This can happen if:
* Metro (the local dev server) is run from the wrong folder. Check if Metro is running, stop it and restart it in the current project.
just tried to run this project and its working fine on ios
@@codewithnomi it's because I'm on windows trying to get it to work with Expo and Expo Go, I can't seem to get around these errors. I've been trying things for days. Any ideas?
@@ZenithMusicIncsorry my friend, I was using the cli approach. not sure about expo.
@@codewithnomi is there any avenue i can take to get it working on windows? I will use CLI if that works...
But i thought cli was expo cli? Or is there another cli.
Sorry i am still learning, but id really love to get this repo working on windows computer somehow, as i only have a windows to design with.
Any help would be super super appreciated.
I will drive traffic to your twitter from our business HumAInProduct as a thank you.
Thx a lot
it is showing this error during api call if anyone have idea about it>error: [AxiosError: Request failed with status code 429]
you may be using an expired api key. Go to openAI api section, check your api usage, if it says expired then you will need to use a new account to create an api key.
I hope this will resolve your issue.
@@codewithnomi not working
why not using expo any good reason?
I have created some of the projects in expo, trying to cover both approaches.
I request you to make a video on how to add the voice package in android because it is not working for me. Please help me
Is it possible to get working on windows somehow?
Possible, you may face some issues but there are solutions online 😉
Hi, I am getting this error on Android when I press the Record button. LOG Error [TypeError: Cannot read property 'startSpeech' of null]
How you do grant permissions in Android?
my voice is not changing in the text format ...if i print the result in the console then it is visible but not added in the ui of mobile
what do i do in react native community voice if im using android?
Check the documentation!
thanks but the problem comes with the gradle file it has errors and cant run it on android studio
@@codewithnomi
Hello Sir
Sir mery pass windows laptop hai ma kesy ye wali chatgpt ki coding kr skta hun
yes absolutely, but the speech and voice library may not properly work so you'll have to set them up using their documentation.
Finally
after cloning the repo , changing the open ai key and enabling required permitions in android folder ( on windows ) i am getting this error
when i press recording button i see this error in the log
``` LOG speech start event {"error": false}
LOG speech start event {"error": false}
LOG results
LOG speech stop event {"error": false}
LOG speech error: {"error": {"message": "7/No match"}}
LOG speech start event {"error": false}
LOG speech start event {"error": false}
LOG speech start event {"error": false}
LOG speech start event {"error": false}
LOG speech stop event {"error": false}
LOG speech error: {"error": {"message": "7/No match"}}```
pl help me to fix this 😢😢
I haven't tested this app on android, you may have to check the documentation of speach to text library for android setup.
Text to speech not working on android (i used usage in android) and my recording button needs to be tapped again to get user and assistant response. Please help
Hey did you solved the issue i am facing issue while setting up for react-native/communtiy/voice
await Voice.start('en-US'); use this
@@ShortCodeDevdid you implemented app in android please share me your social so i can contact you if possible
thanks😍
You are on fire 🎉
Are there anyone working with android?Any problem did you have?
42:11 I don't receive text or any error in console
can publish this app for production?
yes you can
@@codewithnomi Do I need to buy any api for this app?
@@pritambag1895 yes you will need to upgrade your openAI account
I an getting a error axios :req faild code 429
Even I didn't use api
Use Gemini API
how to compile this to apk
Rnf components is missing
@AliaksandrPushnou can u provide the github link if u r written for android
Waw🎉 finLY
Error: [AxiosError: Request failed with status code 429]
limit exceeded it means
its working?
where's the github link??
error:AxiosError: Request failed with status code 429] what is the solution
There can be two reasons for this error:
1) open Al api is limited to only 3 api calls per minute if you are using the free version.
2) check your open Al api key usage, if it says expired then you will need to use a new account to create an api key.
hope these will resolve your issue
@@codewithnomi There is no problem in the ios emulator, if the android emulator is not the microphone does not work, why?
😘😘
react native voice community is not working in android
erroraxioserror request failed with status code 401 react native
i am getting this error.can you help me?
401 error means that you are using the wrong api key, create new api key and use that
@@codewithnomi i created new account and took key, but the same error is showing.Any solution?
@@akshaysabu9504 then check of you calling the api correctly, check openAI api reference
same error
@@akshaysabu9504
your code is not working now