crash reporting with crittercism in react-native project - react-native

I want to use crittercism for "crash reporting/exception handling" in react-native project, Want to check if anyone already has done it ? If yes please guide.

This is Kunal from Apteligent. Unfortunately we do not support React native apps with our sdk yet, although there is a feature request in place and our team is working on it.
Once we have the compatible sdk we will update on our release notes page - https://docs.apteligent.com/release_notes/release_notes.html
Let me know in case of other questions.

Related

How do you debug react-native in 2022?

I'm using expo SDK 45 (the latest at the moment i'm writing this) and it seems remote debugging is not possible with react-native-reanimated 2. I'm not even using this library, but react-navigation's drawer does. And as far as I know, many people use react-navigation.
Don't tell me everybody is using Flipper, because I never managed to make it work properly.
I miss react-native-debugger so much..
Can you guys share your favorite debugging tool for react-native ?

Expo integration with Google Sign In

I am trying to add login via Google account to my application. I have encountered a problem. Expo offers two solutions.
Google (https://docs.expo.dev/versions/latest/sdk/google/) - This can only be used in a development environment. I have used it but it does not work in a standalone application, in my case it throws the error "redirect_uri_mismatch" /
GoogleSignIn (https://docs.expo.dev/versions/latest/sdk/google-sign-in/) - Doesn't work in the emulator so I can't add it to the application because I can't fix potential errors.
My question is what the hell library should I use?
I have already tried expo eject and use Google Sign In from React Native. However I got an error that Expo does not support custom native modules. Help!
Thanks in advance.
Edit: SDK 44 Release
With the release of SDK 44, expo-google-sign-in has now been deprecated in favour of expo-auth-session OR #react-native-google-signin/google-signin packages. If you want to use the latter, you will need to follow the custom development client path.
Pre SDK 44
We've implemented Google-Sign-In using the expo-google-sign-in library. Implementation is easy enough, but you will have to test using a standalone build of your application which is the only slightly annoying piece of the puzzle.
Building a standalone build is now even easier with EAS (not sure if you have an account - but if you don't, I would highly recommend it.)
I've used a GoogleSignIn library, but I also have pro tip for everyone who will implement it.
Instead of building a project every time when you will need to test it, you can build it once and then just use upadate OTA, it's much faster.

Using Exp development workflow with a pure react-native application

Might be a duplicate, didn't find one tho.
I started a new application with the react-native-cli.
I want to use expo for development purpose:
Running on devices through Expo.
Publishing through Expo.
Is such a thing possible?
Copy pasting your 2 questions in Google and the first result...
1.
https://docs.expo.io/versions/latest/guides/testing-on-devices/
2.
https://docs.expo.io/versions/latest/workflow/publishing/
any questions left???
No, its not possible, in the docs its explicitly mentioned you can choose either the expo path or bare react native path. And if you choose expo you can eject from it to pure react native but cant go vice versa because the expo wrapper cant be implemented on the bare app.
so you have to again build an app with expo-cli to use expo publishing facilities etc.
but if you want to use expo modules in bare react native app you can do by using react-native-unimodules .
rn-unimodules
hope it helps. feel free for doubts
If anyone is ever looking for the answer it is stated here:
https://docs.expo.io/versions/v35.0.0/introduction/managed-vs-bare/#bare-workflow
It clearly states that in "bare" workflow you cant use the build services of Expo.

Can we use a signle ionic-4 app for mobile and desktops

I am developing an ionic-4 app, Ionic provides cross platform apps but I am a bit confused and my confusion is can I use a single ionic-4 application for mobiles(e.g. Android and IOS) and desktops browsers(Chrome, firefox etc.) as website. Is it possible by using ionic version 4.
Yes, Ionic 4 provides a single code for the execution of multiple platforms.
Ionic Doc
here is help for you. You can check everything.
Yes, you can use Ionic for Android, IOS and Browser. Once the coding is done, you can add any platform to make its build. For example, if you add Android platform then you can take an Android build(APK).Before that you need to setup an environment for that . For example, you need Android studio for taking Android build and Xcode for taking IOS build. It's all depends on the platform that you use.
Please go through Ionic documentation and Youtube tutorials to get a correct picture.
Thank you

How can I get the connected hotspot BSSID/MAC Address in a React Native app?

I can easily do that using existing packages for Android, but I couldn't find any package that would do the same both on Android and iOS.
Update (Feb-08, 2017):
After waiting over two weeks and placing a bounty on the question which resulted in zero answers, I decided to implement a new package (react-native-gateway-finder) that returns the exact info I was looking for.
It is currently implemented for Android only and an iOS implementation is welcomed.
After I did some search on google, got the result as below:
react-native-network-info works with both Android and iOS. But you might need to upgrade your react-native version to 0.48 or higher.
react-native-android-wifi works with Android platform.
If you only need some basic info, NetInfo provided by react-native is a good choice.