react-native-matomo
react-native-matomo copied to clipboard
Integration issues
Hi there!
I'm trying to follow the docs to integrate react-native-matomo into my project, but running into issues.
These are the steps that I followed.
- I ran
yarn add react-native-matomo(This was not outlined in the docs but I assume necessary) - Next added this line to
Podfilein theiosfolder:pod 'BNFMatomo', :podspec => '../node_modules/react-native-matomo/BNFMatomo.podspec' - In the
iosfolder I ranpod install. This is when I got the error thatBNFMatomo.podspecwas missing from the node_module. Is this a known issue?? This would be a nightmare when automating builds. - Seeing as that was the case, I downloaded
BNFMatomo.podspecfrom the repo and manually added it to see how much further I could get. - I ran
pod installagain and this time it was successful. - Now I tried to build the
iosapp. These are the errors that I got:
I solved this one by running yarn react-native unlink react-native-matomo which undid step 2... Is this right?

Please let me know if I'm doing this correctly!
Hi @leonshenprojects did you manage to solve the last issue?
@MrSimsek unfortunately no... this is still is still open
In my case, I had another target for OneSignal, and I had to create an empty Swift file in that to create a bridging-header also.
Hello, does anyone manage this issue ? Thanks a lot!
I am facing the same problem. Was anybody able to resolve this?
i tried integrating, but getting React/RCTAssert not found issue Its not loaded in right way
I detailed how I manage to integrate matomo in #60