Push Notification is not working when i build the application when i use the command ionic package build android --profile Profile and when i use ionic build android it work for me, but Why? i need to work with ionic package not with ionic build
Why Push Notification on Ionic, won't work when i build with Ionic Package?
222 Views Asked by Rafael RN At
1
There are 1 best solutions below
Related Questions in IONIC-FRAMEWORK
- CFBundleDocumentType is not working in myproject-Info.plist file
- ionic build android failure - Execution failed for task processDebugResources
- Android Status Bar Icon Size - Using Cordova / Phonegap Push Plugin
- how to show alert when user scroll to top of div in angular js?
- ionic serve uncaught exception
- Parse.com - setting up push notifications for single users
- Understanding the function of this particular 9 patch image
- CORS in ionic app and django
- How to use embedded Ruby HTML files with Ionic and Cordova
- Ionic cordova build
- Input ng-model not updating in Main view
- ng-click event not getting cleared in Ionic app
- How to show image caption in ionicframework?
- whitelisting a domain in ionic app
- Adding visionmedia/debug to an Ionic/AngularJS application
Related Questions in IONIC2
- List management in AngularJS 2 / Ionic 2
- div background color on top ion-content not showing after scroll down
- Side menu not loading pages
- Angular 2 TypeScript functions with return value and binding it to HTML
- Ionic2 disabling checked checkbox
- Ionic 2 + Firebase fast search
- Ionic 2 basic: get user from storage and check username / password
- Use a component in another component in ionic2
- Ionic 2 Native Map overlapping side menu
- tabsHideOnSubPages doesn't work with popovers
- Ionic 2 firebase listener , adding reference to login page
- How cast any to method signature on typescript
- Error: xcode-select: error: tool 'xcodebuild' requires Xcode
- Hot to implemet notification direct reply in Ionic2
- Angular 2 http get array of objects
Related Questions in IONIC-CLOUD
- How to get Access_Token after authenticating with ionic cloud
- Ionic 2 "Error: Missing deploy plugin: `ionic-plugin-deploy`"
- Why Push Notification on Ionic, won't work when i build with Ionic Package?
- Change the Brand name of Ionic cloud auth password reset email
- Ionic2 ionic-cloud notifications on android
- ionic serve - Runtime Error : Push plugin not found (IONIC 2)
- Upload to Ionic Cloud with specific credentials
- Ionic 2 cloud auth in Angular 2 website
- Can't resolve all parameters for Deploy: (?, ?)
- What is the proper way to retrieve a token after it’s been registered?
- How to check authenticated status server side with ionic cloud Auth
- How to make ionic push notification triggers the app even in background?
- Why is the app_id on my Ionic.io dashboard different than the one on io-config.json?
- Ionic Cloud: Getting Error Registry returned 404 for Get
- ionic2 CloudModule.forRoot() error angular.element is not function
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
This worked for me - see the bottom of this URL: https://github.com/phonegap/phonegap-plugin-push/blob/master/docs/PHONEGAP_BUILD.md
Users have reported issues with Ionic Cloud Build. Apparently there are some differences in the way variables are handled. If your app has an issue where the PushNotification object can't be found try the following.
Remove the inclusion of phonegap-plugin-push from config.xml. That is delete lines that look like this:
Add the following lines into package.json in the cordovaPlugins array.