Title: Android Push
Last modified: August 31, 2016

---

# Android Push

 *  Resolved [taironebrito](https://wordpress.org/support/users/taironebrito/)
 * (@taironebrito)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/android-push/)
 * I follow all the steps. I create the apk and when I try to activate the push 
   by the app he gets into an infinite loop.
 * iOS is working perfect.
 * [https://wordpress.org/plugins/push-notifications-for-wp/](https://wordpress.org/plugins/push-notifications-for-wp/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Delite Studio](https://wordpress.org/support/users/delitestudio/)
 * (@delitestudio)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/android-push/#post-7238855)
 * Can you explain your problem in details?
 * If it’s a loop in the plugin can you describe how to reproduce the behaviour?
 *  Thread Starter [taironebrito](https://wordpress.org/support/users/taironebrito/)
 * (@taironebrito)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/android-push/#post-7238861)
 * [https://drive.google.com/file/d/0B0IqlPbr_pj0UzI1clhZcktJNG8/view?usp=sharing](https://drive.google.com/file/d/0B0IqlPbr_pj0UzI1clhZcktJNG8/view?usp=sharing)
 * Take a look in apk, when i’ll active the push notification the apk entry in loop
 *  Thread Starter [taironebrito](https://wordpress.org/support/users/taironebrito/)
 * (@taironebrito)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/android-push/#post-7238874)
 * i found the error in chrome console.
 * WARNING: Tried to load angular more than once.
    cordova statusbar cordova analytics
   cordova globalization information cordova network information [pushNotifications][
   admob] [admob] disabled stateChangeSuccess Object Object Object Object main controller
   deviceready has not fired after 5 seconds. nativepagetransitions is disabled 
   or nativepagetransitions plugin is not present wifi network information [pushNotifications]
   init ImgCache initialising INFO: ImgCache initialising [pushNotifications] hasPermission
   true [pushNotifications] hasBeenUnregistered null [pushNotifications] init Object
   Object INFO: LocalFileSystem opened INFO: Local cache folder opened: file:///
   storage/emulated/0/imgcache/ INFO: .nomedia file created. ImgCache init: success!
   Init: success! reinit load false wphcLoader attempt: 0 cordova socialsharing 
   INFO: File ea97b900b43f3f8fc5756a482fb3956f?s=96&d=mm&r=x loaded from cache INFO:
   File a7a04ba94414c0dd1a1d3a5dc1d59c45?s=96&d=mm&r=x loaded from cache INFO: File
   ce758d19406a4104dc3841b68ff1ef06?s=96&d=mm&r=x loaded from cache INFO: File ea97b900b43f3f8fc5756a482fb3956f?
   s=96&d=mm&r=x loaded from cache Error in Error callbackId: PushNotification1307871810:
   TypeError: Cannot read property ‘$log’ of undefined Uncaught (in promise) TypeError:
   Cannot read property ‘$log’ of undefined at file:///android_asset/www/bundle-
   0942d8.js:130631:22 at PushNotification.emit (file:///android_asset/www/plugins/
   phonegap-plugin-push/www/push.js:193:38) at fail (file:///android_asset/www/plugins/
   phonegap-plugin-push/www/push.js:57:14) at Object.cordova.callbackFromNative (
   file:///android_asset/www/cordova.js:293:52) at processMessage (file:///android_asset/
   www/cordova.js:1079:17) at processMessages (file:///android_asset/www/cordova.
   js:1102:9) stateChangeSuccess Object {url: “/params”, class: “module-params”,
   views: Object, name: “public.params”} Object {} Object {url: “/posts”, class:“
   module-posts”, views: Object, name: “public.posts”} Object {} [pushNotifications]
   hasPermission true stateChangeSuccess Object {url: “/pushNotifications”, views:
   Object, name: “public.params.pushNotifications”} Object {} Object {url: “/params”,
   class: “module-params”, views: Object, name: “public.params”} Object {} loading
   native show loading native hide loading native show [pushNotifications] init 
   Object {senderID: “892221558055”} Object {badge: true, sound: true, alert: true,
   clearBadge: true} stateChangeSuccess Object {url: “/params”, class: “module-params”,
   views: Object, name: “public.params”} Object {} Object {url: “/pushNotifications”,
   views: Object, name: “public.params.pushNotifications”} Object {} [pushNotifications]
   hasPermission true stateChangeSuccess Object {url: “/pushNotifications”, views:
   Object, name: “public.params.pushNotifications”} Object {} Object {url: “/params”,
   class: “module-params”, views: Object, name: “public.params”} Object {} loading
   native show loading native hide loading native show [pushNotifications] init 
   Object {senderID: “892221558055”} Object {badge: true, sound: true, alert: true,
   clearBadge: true} Error in Error callbackId: PushNotification1307871848 : TypeError:
   Cannot read property ‘$log’ of undefined Uncaught TypeError: Cannot read property‘
   $log’ of undefined Error in Error callbackId: PushNotification1307871855 : TypeError:
   Cannot read property ‘$log’ of undefined Uncaught TypeError: Cannot read property‘
   $log’ of undefined
 *  Plugin Author [Delite Studio](https://wordpress.org/support/users/delitestudio/)
 * (@delitestudio)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/android-push/#post-7238953)
 * We are sorry but this is not a plugin-relate bug, you must ask support on the
   forum/site of the framework you are using.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Android Push’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/push-notifications-for-wp_373b48.
   svg)
 * [Push Notifications for WordPress (Lite)](https://wordpress.org/plugins/push-notifications-for-wp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/push-notifications-for-wp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/push-notifications-for-wp/)
 * [Active Topics](https://wordpress.org/support/plugin/push-notifications-for-wp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/push-notifications-for-wp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/push-notifications-for-wp/reviews/)

## Tags

 * [android](https://wordpress.org/support/topic-tag/android/)
 * [erro](https://wordpress.org/support/topic-tag/erro/)
 * [loop](https://wordpress.org/support/topic-tag/loop/)
 * [push](https://wordpress.org/support/topic-tag/push/)

 * 4 replies
 * 2 participants
 * Last reply from: [Delite Studio](https://wordpress.org/support/users/delitestudio/)
 * Last activity: [10 years, 1 month ago](https://wordpress.org/support/topic/android-push/#post-7238953)
 * Status: resolved