You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 15, 2024. It is now read-only.
Describe the bug
When following the additional instructions for iOS integration to enable Push Notifications. When I got to the pod instructions I attempted to add the following: pod 'react-native-flurry-sdk', :path => '../node_modules/react-native-flurry-sdk/ios', :subspecs => ['FlurrySDK-Push']
I then ran the following commands: cd ios && pod install && cd ..
I then received the following error for cocoapods:
[!] No podspec found for `react-native-flurry-sdk` in `../node_modules/react-native-flurry-sdk/ios
After I looked at the react-native-flurry-sdk directory under node_modules I saw that the spec file was at ../node_modules/react-native-flurry-sdk and not ../node_modules/react-native-flurry-sdk/ios so I changed the pod line in the podfile to point to the base node_module and ran the pod install and the install finished. But when I went to run the react native ios build, it failed due to not being able to find the ReactNativeFlurry.h file. Is there something I'm doing wrong?
This Bug is About
Please choose the closest item by replacing [ ] with [x].
Integration
[x ] Analytics
[ x] Messaging/Push
Remote Configuration
Flurry Website/Dashboard
Other
Platform
Please choose the platform(s) that you are having the issue by replacing [ ] with [x].
Android
iOS
tvOS
Environment
Please tell us the versions of SDKs you are using. If you are not sure about React Native version, you can run react-native --version under your project.
React Native version: 0.71.8
react-native-flurry-sdk version: 8.3.0
To Reproduce
Steps to reproduce the behavior:
I simply followed the instructions given in this repo.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Are you using Flurry Push/Messaging? Yes
(iOS) Are you using CocoaPods for React Native integration? Yes
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Make sure that you open the xcworkspace version of the project.
Please check to make sure that you have the following two folders in your project:
Under Pods:
And under Development Pods:
I did not see the error you had reported. But I did see the following:
The purpose of this code is to support both newer and older versions of the plugin, but for simplicity you can replace #if __has_include(<Flurry-iOS-SDK/FlurryMessaging.h>) #import <Flurry-iOS-SDK/FlurryMessaging.h> #elif __has_include(<Flurry_iOS_SDK/FlurryMessaging.h>) #import <Flurry_iOS_SDK/FlurryMessaging.h> #else #import "FlurryMessaging.h" #endif
with the following code: @import Flurry_Messaging;
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Describe the bug
When following the additional instructions for iOS integration to enable Push Notifications. When I got to the pod instructions I attempted to add the following:
pod 'react-native-flurry-sdk', :path => '../node_modules/react-native-flurry-sdk/ios', :subspecs => ['FlurrySDK-Push']
I then ran the following commands:
cd ios && pod install && cd ..
I then received the following error for cocoapods:
[!] No podspec found for `react-native-flurry-sdk` in `../node_modules/react-native-flurry-sdk/ios
After I looked at the react-native-flurry-sdk directory under node_modules I saw that the spec file was at
../node_modules/react-native-flurry-sdk
and not../node_modules/react-native-flurry-sdk/ios
so I changed the pod line in the podfile to point to the base node_module and ran the pod install and the install finished. But when I went to run the react native ios build, it failed due to not being able to find theReactNativeFlurry.h
file. Is there something I'm doing wrong?This Bug is About
Please choose the closest item by replacing
[ ]
with[x]
.Platform
Please choose the platform(s) that you are having the issue by replacing
[ ]
with[x]
.Environment
Please tell us the versions of SDKs you are using. If you are not sure about React Native version, you can run
react-native --version
under your project.To Reproduce
Steps to reproduce the behavior:
I simply followed the instructions given in this repo.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Are you using Flurry Push/Messaging? Yes
(iOS) Are you using CocoaPods for React Native integration? Yes
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: