Hello! Our app is a react-native project and we already get some analitycs by amplitude about year. Now I want to improve amplitude usage for our project and I would like to use Ampli CLI for our app. If I try to execute
ampli pull
I get the next warning
WARNING You have yet to create a source in your account. Log into https://data.amplitude.com/ to create one.
But in our app we have one source React native SDK with name ReactNative. Connected.
Please tell me, is it possible to use ampli cli for react native project or maybe something wrong?
Page 1 / 1
Hello @Gaka happy to help!
In order to use Ampli CLI to verify your instrumentation versus the tracking plan within Amplitude Data you will need to set up a source name along with the SDK that you are leveraging.
For example, in Amplitude Data head over to Sources on the left panel. Find “React Native” and click on it and then a pop-up window will appear. You will need to give it a custom name like the following:
You will then need to add the custom source name to the events that fall within this SDK as follows:
Once these steps have been completed you will be able to leverage `ampli pull`.
Hi @eddie.gaona ,
I also have already created a react native source and I am not able to find my source in the add source section of create events. And if I want to create a new source it throws this error.
Hello, I am experiencing the same error, “You have yet to create a source in your account.”
When running Ampli pull, yet I have a source configured and plenty of events coming from it.
The existing Browser SDK source does not have a custom name, nor can I create a new Browser SDK source with a custom name because I get the “Something went wrong, please contact support if this persists”
I cannot assign a custom name to the source that is already created
So Ampli pull is just glitched? I don’t understand
If you don't have an Amplitude account, you can create an Amplitude Starter account for free and enjoy direct access to the Community via SSO. Create an Amplitude account. You can also create a Guest account below!
If you're a current customer, select the domain you use to sign in with Amplitude.
If you don't have an Amplitude account, you can create an Amplitude Starter account for free and enjoy direct access to the Community via SSO. Create an Amplitude account. Want to sign up as a guest? Create a Community account.
If you're a current customer, select the domain you use to sign in with Amplitude.