ionic-angular-parse-boilerplate icon indicating copy to clipboard operation
ionic-angular-parse-boilerplate copied to clipboard

Feature/Ionic Analytics

Open ejwill opened this issue 9 years ago • 6 comments

integrated ionic.io analytics http://docs.ionic.io/v1.0/docs/deploy-from-scratch.

side note saw that you created ionic-parse-facebook-auth are you going to integrate that in this repo?

ejwill avatar Jun 20 '15 20:06 ejwill

I was following the example Ionic created here https://github.com/driftyco/ionic-starter-analytics/blob/master/js/app.js

ejwill avatar Jun 21 '15 16:06 ejwill

Could you merge the duplicated .config and .run functions? Like this:

.run(['$ionicPlatform', '$ionicAnalytics', function($ionicPlatform, $ionicAnalytics) {
  //go to https://github.com/driftyco/ionic-starter-analytics to see another example
  //analytics docs http://docs.ionic.io/v1.0/docs/analytics-from-scratch
  $ionicAnalytics.register();

  $ionicPlatform.ready(function() {
    // Hide the accessory bar by default (remove this to show the accessory bar above the keyboard
    // for form inputs)
    if (window.cordova && window.cordova.plugins && window.cordova.plugins.Keyboard) {
      cordova.plugins.Keyboard.hideKeyboardAccessoryBar(true);
    }
    if (window.StatusBar) {
      // org.apache.cordova.statusbar required
      StatusBar.styleLightContent();
    }
  });
}])

giorgiofellipe avatar Jun 21 '15 17:06 giorgiofellipe

Updated to combine .run and .config . So are you going to fold in User management from ionic-parse-facebook-auth?

ejwill avatar Jun 21 '15 20:06 ejwill

Seems better now, I'll take a look later and merge asap. Thank you!

About the auth: ye, but I'm so busy these days. If you need it sooner feel free to implement and ask me for help, if needed.

giorgiofellipe avatar Jun 22 '15 01:06 giorgiofellipe

I was wondering if makes sense to use Ionic Analytics instead of using Parse Analytics. Indeed it is a Ionic app boilerplate, but its intention is help users to easily build with Parse using all of their services. What do you think about it @ejwill?

giorgiofellipe avatar Jun 26 '15 14:06 giorgiofellipe

@giorgiofellipe both are good options. Ionic Analytics along with the other Ionic services are going to play better with the Ionic framework than anything else. I know some analytic services are tripped up by the use of angular in Ionic. I have not done any research into Parse analytics to know if it has a problem with Angular or not. Another, thing to remember is we don't know what the pricing on the Ionic services are yet. They are free during beta tho.

ejwill avatar Jun 26 '15 15:06 ejwill