[react-native] I am unable to get token balance

I got this error in my consoleā€¦provider not set or invalid

what are you trying to do there, how are you trying to get the balance?

The crypto balance on my wallet

Hey can you send the code which you are using to fetch it ?

I am using the Ethereum-react-native-boilerplate, I want to be able to get my native balance once I authenticate with my metalmask, this was possible in Ethereum-boilerplate

Did you change something in the code? How did you authenticate? What chain do you use and are you sure you have native crypto on it?

I didnā€™t change anything,I did yarn install then I start my appā€¦ I am using BSc testnet