Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Hamidreza Ghaderi
    @HamidrezaGhaderi
    i get Error
    please help me
    Jameesh Moidunny
    @jameeshpm

    @jameeshpm
    I am trying to send push notification from ionic app and followed these steps http://www.sitepoint.com/push-notifications-in-ionic-apps-with-google-cloud-messaging/
    i am getting error like this Uncaught TypeError: Cannot read property 'pushNotification' of undefined
    this is my app.js
    // Ionic Starter App

    // angular.module is a global place for creating, registering and retrieving Angular modules
    // 'starter' is the name of this angular module example (also set in a <body> attribute in index.html)
    // the 2nd parameter is an array of 'requires'
    angular.module('starter', ['ionic'])

    .run(function($ionicPlatform, RequestsService) {
      $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.Keyboard) {
          cordova.plugins.Keyboard.hideKeyboardAccessoryBar(true);
        }
        if(window.StatusBar) {
          StatusBar.styleDefault();
        }
    
    
        pushNotification = window.plugins.pushNotification;
    
    
        window.onNotification = function(e){
    
          console.log('notification received');
    
          switch(e.event){
            case 'registered':
              if(e.regid.length > 0){
    
                var device_token = e.regid;
                RequestsService.register(device_token).then(function(response){
                  alert('registered!');
                });
              }
              break;
    
            case 'message':
              alert('msg received');
              alert(JSON.stringify(e));
              break;
    
            case 'error':
              alert('error occured');
              break;
    
          }
        };
    
    
        window.errorHandler = function(error){
          alert('an error occured');
        }
    
    
        pushNotification.register(
            onNotification,
            errorHandler,
            {
              'badge': 'true',
              'sound': 'true',
              'alert': 'true',
              'senderID': '118467786675',
              'ecb': 'onNotification'
            }
        );
    
    
      });
    })

    anybody can help me with this
    i am testing on real devices
    @ericb , @Diones

    gaurav
    @myselfgaurav
    i need help with ionic tabs issue
    is there any way to refresh page when praticular tab is clicked
    gaurav
    @myselfgaurav
    my app is currently done ionic without material not is there way that i just inlcude some css or js to add material
    effect
    Xavier Lozinguez
    @xlozinguez
    You guys will have more chance asking Ionic related question on https://gitter.im/driftyco/ionic
    Jameesh Moidunny
    @jameeshpm
    Hi How do switching tabs in ionics
    Xavier Lozinguez
    @xlozinguez
    @jameeshpm check out this channel instead https://gitter.im/driftyco/ionic
    Philip Perez
    @philxtian
    Hi guys, I'm new in angular and ionic-material... how to inject this ionicMaterialInk ??
    Philip Perez
    @philxtian
    Don't mind I got it!
    Irfan
    @irfan-sabir
    hi device token not generating on the emulator as well as on device token
    Irfan
    @irfan-sabir
    on android device and genymotion emulator device token are not generated, working on the web browser
    Zlati Pehlivanov
    @talamaska
    hey is this repository dead , I see no pull requests were accepted since 3 months
    rajat goyal
    @RajatGoyal
    same question as above, is the repo in active development?
    Torsten Feld
    @torstenfeld

    i do not get deploy to run.

    i installed through ionic plugin add ionic-plugin-deploy
    but when running the app, i receive the message
    plugin is not installed or has not loaded. Have you run ionic plugin add ionic-plugin-deploy yet?

    any ideas on this?

    i stumbled across driftyco/ionic-service-deploy#8 but i do not have the ionic-service-deploy folder in "lib". am I missing something?
    Torsten Feld
    @torstenfeld
    sorry, wrong chat
    George Johnston
    @orangepek0e
    hey! I'm new to using Ionic Material, and I was wondering how I might go about integrating it into an pre-existing project I'm working on?
    AnissC
    @AnissC
    Hi everyone can someone take a look at my problem plz -)
    Myck
    @mickadoua
    hi all,
    i observe a performance issues with the demo sample, how can i improve this ?
    Timmy Rosén
    @timmyrosen
    Hi! I'm just curios if this project is still being maintained and updated? Or are you working on Ionic Material for Ionic 2?
    Maxim
    @6stprod
    Please tell me how to pass a variable from one page to another? <a href="#/app/character?charName='.$charName.'" > this code is causing a lot of errors on another page. On another page I tuck the variable (php) $charName = $_GET['charName'];
    $xml = simplexml_load_file("http://127.0.0.1/index.php?_key=ffc312f882fbeeb51504483ee8c691a2&_url=CharInfo/" . $charName);
    Franco Meriles
    @FrancoMeriles
    Use rootScope from angular
    Maxim
    @6stprod
    Could you give an example. I don't quite understand what it was about ?
    Franco Meriles
    @FrancoMeriles
    .controller('MyCtrl', function($scope, $rootScope) {
    
    $scope.charName = $rootScope.charname
    
    })
    then add $rootScope on any controller that you want to use that variable
    Maxim
    @6stprod
    .controller('CharacterCtrl', function($scope, $rootScope, $stateParams, $timeout, ionicMaterialMotion, ionicMaterialInk) {
    ...
    $scope.charName = $rootScope.charname All right? I changed only your controller.js file, but error still remain
    and in console - Uncaught TypeError: Cannot read property 'className' of undefined motion.js 288
    var_dump($charName) is null
    Maxim
    @6stprod
    And also when compiling the apk can sometimes appear a white screen and nothing more
    Maxim
    @6stprod
    I'm sorry, there was an error in the file
    Zlati Pehlivanov
    @talamaska
    you should avoid redirecting users that way, you could attach an ng-click with a function passing to the function this variable of yours, and do the $state.go within the controller
    using $rootScope is bad idea
    Zlati Pehlivanov
    @talamaska
    <a href="#" ng-click="vm.goto(vm.charname)"> ......
    Maxim
    @6stprod
    thanks, i try it
    VARUN CHOPRA
    @vCillusion
    Hi Guys I am new to Web Dev and I wanted to use Deployd with Ionic .. I earnestly need your help because I am unable to do it on my own. Guide me with High Level steps on how to achieve it?
    Dhaval
    @dhaval85
    Hello guys, I already have an ionic project. How to convert it to ionic-material?
    Vaidhykaushik
    @Vaidhykaushik
    '''
    '''
    Sachin Erudkar
    @eSachin
    Hi All
    Prashant Andani
    @prashant-andani
    Hi Guys
    im facing an issue working with ionic firebase oauth login
    on login screen goes blank … when installed as app either in ios or android
    did any one face the same issue… Please help
    Roman M.
    @lddd
    Hi all
    Whats the difference between the Material Design Package at Github to the one available at CodeCanyon?
    Roman M.
    @lddd
    ?
    Ian Tang
    @iantang1

    Hi guys!

    i build my mobile app using IONIC framework. And i am in the midst of QC testing it on IOS and Android to ensure that it will run smoothly on IOS and Android.

    My Question:
    For IOS - do i have to test it on Iphone 3G to 6+
    For Android - i am unsure.

    Hoping to hear from the community. :)

    Doug Franklin
    @Imaginativeone
    Hi everyone...