Skip to content

Conversation

giltotherescue
Copy link

I have similar plugins for both Mixpanel Cordova and Intercom Cordova. Before I submit the others, would someone mind reviewing this and letting me know if there is anything I need to add or improve upon in this PR? I am successfully using this plugin within my app.

Copy link
Contributor

@timelf123 timelf123 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall looks good. Currently the majority of plugins live outside the core repository as it became too much to maintain all in one repo. For example, I have no experience with branch or cordova so I will be unable to maintain support for this. Would you be able to post this code to angulartics/angulartics-branch-cordova if I create this repository?

var deferred = $q.defer();
var deviceReady = false;

window.addEventListener('deviceReady', function () {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use $window for testing purposes

deferred.resolve();
});

setTimeout(function () {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use $timeout for testing purposes

@giltotherescue
Copy link
Author

Yes, I would be happy to make the changes recommended above and submit them to a new repo that you create. Please let me know when angulartics/angulartics-branch-cordova exists and also please create angulartics/angulartics-mixpanel-cordova and angulartics/angulartics-intercom-cordova as I will be submitting all 3.

@timelf123
Copy link
Contributor

Thanks @giltotherescue these have been created and you are a collaborator on all 3
https://github.com/angulartics

@timelf123
Copy link
Contributor

@giltotherescue
Copy link
Author

Sorry, just got super busy. I can work on it sometime next week. Haven't
forgotten about it. If you'd like to help please feel free.

On Wednesday, October 5, 2016, Tim Elfelt [email protected] wrote:

@giltotherescue https://github.com/giltotherescue need any help moving
this over?
https://github.com/angulartics/angulartics-branch-cordova
https://github.com/angulartics/angulartics-mixpanel-cordova
https://github.com/angulartics/angulartics-intercom-cordova


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#515 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAWqMv5MMAsB75rcq8-df3C6YIfspm3Vks5qw9u4gaJpZM4KHO4T
.

@giltotherescue
Copy link
Author

giltotherescue commented Jan 6, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants