React-native does not support IPFS? - react-native

I installed IPFS in my app and whenever I am trying to use it I always get this error.
Error: undefined Unable to resolve module `crypto` from `node_modules/libp2p-crypto/src/hmac/index.js`
I searched on google and found article which says it is impossible to use IPFS on mobile device.
But this article was created almost 1 year ago and I was wondering is it still true for react-native?
Is there any ways to solve my problem?

To query an IPFS node I use ipfs-mini
Works great for my react-native app.

Related

Cant run setDebugModeEnabled on Expo for Firebase Analytics

So to give a little context im using expo-firebase-analytics (latest version) on Expo (27) and im trying to activate setDebugModeEnabled so that i can use the debugView on firebase analytics.
The problem is that when running it i get the following warning
The method or property expo-firebase-analytics.setDebugModeEnabled is not available on ios, are you sure you've linked all the native dependencies properly?]
I havent found any information about it on the web
Have you tried installing the latest version of expo-firebase-analytics since expo install brings an older one
Ok so i tried to reproduce the issue.It seems ("even though it seemed obvious") that its not available for a reason on ios. but it is in android. if you use an android device it shoudl work seamlesly
if you check on the exports is the function there?

undefined is not an object (evaluating 'RNSound.IsAndroid')

I am trying to get react-native-sound to work on my react-native app but I keep getting this error: undefined is not an object (evaluating 'RNSound.IsAndroid').
I have noticed that any people have received this error and I found a relevant question already on here, but I am super noobie and don't understand most of the solutions people have suggested.
I have tried react-native link react-native-sound, but it did not change anything. From reading people's comments I must now manually Install, but I don't really understand what I am doing. Even step one... go to android/app/src/main/java/.../MainApplication.java. I don't understand this as I can't see an android file anywhere. I am using Visual Studio (windows 10) and expo cli with my own Pixel 2 plugged in (hence I am not using Android Studio).
Any help would be fantastic.
We can't use native modules with projects which is created by expo cli.
So, either you can use alternative package for expo which is https://docs.expo.io/versions/latest/sdk/audio/
or if you are familiar with native development, you can eject your project from expo to use native android/ios project with react-native cli.

RNSound.IsAndroid error when trying to play sound

I recently got into react-native and after connecting it to my aws database and ... I have been trying to play some audios I had stored in my bucket. For this I tried using react-native-sound but once i import it I get the error
undefined is not an object (evaluating 'RNSound.IsAndroid')
which seems to be a common problem when using this package. Now I have tried a couple of solutions listed under the following link
https://github.com/zmxv/react-native-sound/issues/592
and now I think that my react-native link doesn't work right cuz when I use it i get the following result
PS C:\HealthProject\TestPackage> react-native link react-native-sound
PS C:\HealthProject\TestPackage>
also I don't have an android nor ios folder to perform a manual installation I only have the folders that were generated by expo.
Any help is much appreciated.
Thanks a lot!

How to create react-native app for route like uber, with the use of HERE-MAP?

installed 'npm install react-native-heremaps --save'
This is for react-native init android, I tried some application using ios concept.
Error
Loading dependency graph, done. Error: Unable to resolve module ./index
Referrence:
Github ios sample
this question is a bit vague for SO, something that would require an entire course to answer. Currently it looks like you should learn how to do react-native android before attempting to add on top HERE. There are many great tutorials to get that started and working.
For the here portion you will have to use the Here-Maps-SDK. Since there isn't a react version of this SDK, you will need to link it using a react bridge.
It's not that easy of a process, and will take a decent amount of work to get right.
Here are some examples to help get started: https://hackernoon.com/react-native-bridge-for-ios-and-android-43feb9712fcb
https://facebook.github.io/react-native/docs/native-modules-ios

TimeoutError: transforming ..\node_modules\aws-sdk\dist\aws-sdk-react-native.js

I've been having an error when trying to run/test my react-native application on my mobile device. The error seems to be originating from aws-sdk as below:
Is anyone familiar with this error and knows how to fix it?
react-native: 0.45.1
aws-sdk: 2.223.1
Check out https://github.com/aws/aws-sdk-js/issues/1748#issuecomment-392040722
After much attempts with the latest release i was able to get v2.224.1 working. I use react native v0.44.1.