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 answers
Related Questions in IONIC-FRAMEWORK
- Firebase link existing user to anonymous account?
- Ionic Angular Standalone ion-icon are not showing at all
- Unable to run ionic app on Android emulator - [error] ADBs is unresponsive after 5000ms
- How should I filter Observables the "Right Way" with RxJs in Angular 17?
- Ionic/Capacitor: Background Location Tracking on iOS and Android?
- Best Approach for Implementing Video Selection from Gallery/Files in Ionic-React with Capacitor
- <video> tag with downloaded path in ionic ios not loads the video
- How do I record that this ionic checkbox has been checked by the user?
- Ionic 5 angular sharing a component between two modules
- mergeDebugResources FAILED
- Issue saving generated image to local filesystem in iOS using Capacitor
- Detect clickable areas within <img> tag in Ionic project
- Whitelisting Ionic app in Salesforce Org for CORS/CSP
- How to Polyfill node core modules in webpack 5 using ionic capacitor angular
- I'm developing an Android, but I can't see my "console.log" in logcat
Related Questions in IONIC2
- I have a question regarding SAF on a Ionic Angular App
- ionic build is getting failed for ionic cordova build android
- Ionic angular running issue in android?
- error when firing command to build android build release in ionic android
- How to save video to photo library iOS ionic
- How to just return a defined variable from an observable synchronously
- CordovaLib:compileReleaseJavaWithJavac FAILED - ionic build failing for Android TargetSDK 33
- Ionic framework error: spawn unknown error
- Issues communicating an Ionic mobile app with InAppBrowser and a React web app using postMessage
- Capacitor bridge present view controller [NSJSONSerialization dataWithJSONObject:options:error:]: value parameter is nil'
- Ionic card element with pagination examples
- How to add additional text into displayed date in ion-datetime in Angular?
- Angular1+cordova+ionic project failed to build with the below error "FAILURE: Build failed with an exception."
- Updating iOS native dependencies with pod install - failed! update ios - failed! Error in Mac M1
- Capacitor App Plugin dont let android studio build the apk
Related Questions in IONIC-CLOUD
- How to set a build stack for ionic-cloud cli builds?
- Getting "Sorry! The configured backend (pro) does not know about ionic upload" When trying to upload the Ionic App
- Ship google-services.json with ionic package builds
- Ionic2 ionic-cloud notifications on android
- Change the Brand name of Ionic cloud auth password reset email
- Can't resolve all parameters for Deploy: (?, ?)
- Ionic 2 cannot upload project
- Ionic document scanner application
- ionic push notification not working after changed the apple id
- How to use Ionic Cloud with Angular 1.5
- Updating ionicdb using web api?
- TypeError: $ionicAuth.signup is not a function
- What is the proper way to retrieve a token after it’s been registered?
- Ionic 2 cloud auth in Angular 2 website
- Upload to Ionic Cloud with specific credentials
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?
Popular Tags
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)
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.