Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use of undeclared identifier 'Localytics'; #22

Open
sujithln opened this issue Feb 23, 2023 · 0 comments
Open

Use of undeclared identifier 'Localytics'; #22

sujithln opened this issue Feb 23, 2023 · 0 comments

Comments

@sujithln
Copy link

sujithln commented Feb 23, 2023

I am using react native version "react-native": "0.68.5", and "localytics-react-native": "3.2.7".
I have tried both javascript and typescript templates, this issue is there. I have followed https://help.uplandsoftware.com/localytics/dev/react-native.html#react-native
In the AppDelegate.mm file I have added the following code.

[Localytics autoIntegrate:@"YOUR-LOCALYTICS-APP-KEY"
withLocalyticsOptions:@{
LOCALYTICS_WIFI_UPLOAD_INTERVAL_SECONDS: @5,
LOCALYTICS_GREAT_NETWORK_UPLOAD_INTERVAL_SECONDS: @10,
LOCALYTICS_DECENT_NETWORK_UPLOAD_INTERVAL_SECONDS: @30,
LOCALYTICS_BAD_NETWORK_UPLOAD_INTERVAL_SECONDS: @90
}
launchOptions:launchOptions];

Issue : Use of undeclared identifier 'Localytics'; did you mean 'localtime'?

PLease check the following screenshot:

Screenshot 2023-02-23 at 11 06 29 AM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant