question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add support for platform browser

See original GitHub issue

Cordova CLI 4.0.0 adds support for the browser platform. How should this plugin handle this platform? Is it possible to bind the analytics JS browser library methods to the plugin? ie:

var ga = require('analytics.js');
...
startTrackerWithId: function(trackerId){
    ga('create', trackerId, 'auto');
}
...

This was my first thought when facing the issue, what do you think? Are there any side-effects I haven’t noticed? Any other approaches?

Issue Analytics

  • State:closed
  • Created 9 years ago
  • Comments:14 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
victorsosacommented, Nov 11, 2016

Is here, release 1.7.0

0reactions
victorsosacommented, Oct 29, 2016

PR #313 created to browser support - dev is not complete yet

Read more comments on GitHub >

github_iconTop Results From Across the Web

angular/platform-browser
Supports execution of Angular apps on different supported browsers. The BrowserModule is included by default in any app created through the CLI, ...
Read more >
angular/platform-browser
Angular - library for using Angular in a web browser. Latest version: 16.2.1, last published: 6 days ago.
Read more >
Error adding cordova platform browser, "Error loading ...
If I run cordova platform add browser it creates the dir, copies all the files, and things mostly looks like it works right...
Read more >
Supporting the Browser Platform in a Cordova Plugin
To add support for the browser platform, we'll need to configure it in plugin.xml (whose specification can be found in the Cordova documentation),...
Read more >
@angular/platform-browser | Yarn - Package Manager
Fast, reliable, and secure dependency management.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found