Comments (4)
Hey,
thanks for trying out piwik-react-router! As far as i know you're the first one using it with react native #yeah and i didn't try it myself. document
, the global root element in the browser is obviously not available in the native environment.
I'll open another issue regarding a react native implementation but some projects on npm like https://www.npmjs.com/package/react-native-google-analytics-bridge are using iOS and Android specific modules which then talk with react native and i think restructuring and enhancing the module to provide a drop-in solution should be the goal here.
Did you have a look at the official piwik SDKs for iOS and Android? https://github.com/piwik/piwik-sdk-ios https://github.com/piwik/piwik-sdk-android
I would love to see more infos how you're building the navigator etc. to get an idea how we could implement the integration.
from piwik-react-router.
To be honest i'm only 2 weeks into react native and not really liking it. My biggest issue is that the out of the box components are very basic in options which is fine for a crud application but for every advanced thing i needed to either develop it myself (which isnt really an option if you're 2 weeks in with i tight shedule) or other people's plugins which don't seem to work well together and don't always have proper support. Also the native components have some weird options for example their listview has a reachBottom function but their scrollview doesnt (Which to me seems like a thing every scrollable component should have)
Anyway, i don't think i'm much of a help here. To answer your question on the navigator i needed some basic functions which don't seem to be inside the native component so i had to download a plugin for that too.
from piwik-react-router.
@RHinderiks oh that doesn't sound like a good foundation to build on. i just saw the react-native-piwik package on npm. did you try it?
from piwik-react-router.
We actually changed to ionic, it may not be native but it has alot more features and seems more stable and since its javascript we can use piwik without any issues (hopefully :D)
from piwik-react-router.
Related Issues (20)
- should it be addeded to server side code? HOT 1
- React-Native Support
- Incorrect url in Piwik when use hashHistory from react-router HOT 6
- add optional proxy function argument to .connectToHistory
- Feature request: Being able to skip initialization of Piwik HOT 2
- Feature request: Allow setting of custom error tracking handler HOT 1
- Page title updating past track event? HOT 3
- TypeError: Cannot read property 'parentNode' of undefined HOT 10
- Dynamic piwik URL HOT 1
- `PiwikTracker.track` sends URLs with appended slash HOT 1
- Rename this package to matomo-react-router HOT 1
- CSP (Content Security Policy) HOT 1
- React Router v4 Support HOT 6
- react-router-dom HOT 4
- Does it support matomo? HOT 2
- getBaseUrl should take port into account
- You cannot change <Router history>
- connectToHistory typescript definition does not accept same arguments as the function.
- tracking not working
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from piwik-react-router.