no version found com.google.firebase in react-native-fcm - react-native

I'm using react native version 0.40, and followed the read me from this repo and i'm getting the following error when I try to run react-native run-android:
could not find any matches for
com.google.firebase:firebase-messaging:+ as no versions of
com.google.firebase:firebase-messaging are available.
I have no clue what is the source for this error. I searched everywhere and I couldn't debug this problem.

I have found the answer, i need to update the android sdk google play services and google repository.
I am using ubuntu with android sdk installed, i type android in console and updated the packages.

Related

Is there some special environment for creating desktop app in react native

I was trying to make react native desktop app, I have never used it before its my first time experience and am facing errors I did tried to resolve them but couldnot, i did followed the instructions given on official website, error i am facing right now is:
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.Cpp.WindowsSDK.target
s(46,5): error MSB8036: The Windows SDK version 10.0.18362.0 was not found.
I installed the sdk but its not going and this is what i see on my terminal
Build failed with message Building Solution returned error code 1. Check your build configuration.
nailed it....!!!
I don't know why but the issue was with the target SDK version 10.0.18362.0...
I installed the latest version and now its working absolutely fine.....

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?

#react-native-community/segmented-control fails on iOS. How can I get over this issue?

I'm trying to create an app with React Native and Expo (latest versions). I want to use this package, but I get into trouble when I am testing the component on iOs. The package is recommended by react-native official documentation. The main example from git is working perfectly on Android, but on iOS "View config not found for name RNC Segmented Control".
I've created a snack that also reproduces the error here: https://snack.expo.io/#ivy.mihai/94f0cf
The issue was actually caused by the SDK version that I had used. I've updated the SDK version and it worked on both platforms.

How to use titanium inspector using titanium 5.2.2?

I am using Appcelerator titanium CLI to build ios app. I want to debug the app With Chrome DevTools but it seems like it's not compatible with the version which I have installed currently.
As per ti-inspector documentation, I have installed the node package by the below command.
npm install -g ti-inspector
So, When I tried this into my titanium project directory I am getting this response which is unexpected.
tn-inspector
Unexpected error: undefined
NOTE: titanium version - 5.2.2
Useful GitHub link: https://github.com/omorandi/TiInspector
Need help to understand or mitigate this issue. Thanks in advance!!!.
That repo is 5 years old and might not be compatible with the current SDK. You can use this instruction: https://docs.axway.com/bundle/Appcelerator_Studio_allOS_en/page/debugging_android_apps_with_3rd-party_tools.html to use the internal dev tools connection.

Error running Appcelerator kitchensink example on android

I am new to titanium development. I tried to run kitchensink example of appcelerator titanium on windows platform with titanium SDK 1.7.5. The latest one. I am not able to run the kitchen sink example on android.
After compiling and installing this app debug info it's giving me following error.
[ERROR] Failed installing com.appcelerator.titanium: pkg: /data/local/tmp/app.apk
Thanks in advance.
Try Using API's version of android SDK. API's version is required for google maps.