We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1fa3614 commit a1aee55Copy full SHA for a1aee55
index.js
@@ -15,4 +15,4 @@ export {
15
* Versions bellow 3.1.0 used static GoogleAnalytics class.
16
* This exported instance makes sure older implementations work.
17
*/
18
-export default new GoogleAnalyticsBackwardsCompability(GoogleAnalyticsBridge.nativeTrackerId);
+export default new GoogleAnalyticsBackwardsCompability(GoogleAnalyticsBridge ? GoogleAnalyticsBridge.nativeTrackerId : null);
0 commit comments