Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to send event due to unreachable bridge context #285

Open
kulkarniyudhi opened this issue Jun 20, 2022 · 1 comment
Open

Unable to send event due to unreachable bridge context #285

kulkarniyudhi opened this issue Jun 20, 2022 · 1 comment

Comments

@kulkarniyudhi
Copy link

"Unable to send event due to unreachable bridge context" - Getting this message in android studio on getToken
I am trying to get device token and its generating but plugin is not passing token to ionic

Screenshots
image

Environment (please complete the following information):

  • Developer OS and version: Ubuntu 22.04 LTS
  • Mobile OS and version: Android 11
  • Cordova CLI version (cordova --version): 11.0.0

Package.json

{
"name": "pathfinder-new",
"version": "0.0.1",
"author": "Ionic Framework",
"homepage": "https://ionicframework.com/",
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e",
"androidDevice": "ionic cordova run android --livereload --no-native-run --external",
"buildDebug": "ionic cordova build android --debug"
},
"private": true,
"dependencies": {
"@angular/common": "~11.2.0",
"@angular/core": "^11.2.14",
"@angular/forms": "~11.2.0",
"@angular/platform-browser": "~11.2.0",
"@angular/platform-browser-dynamic": "~11.2.0",
"@angular/router": "~11.2.0",
"@capacitor/core": "3.1.1",
"@ctrl/ngx-emoji-mart": "^5.1.0",
"@ionic-native/android-permissions": "^5.31.1",
"@ionic-native/base64": "^5.31.1",
"@ionic-native/camera": "^5.31.1",
"@ionic-native/core": "^5.31.1",
"@ionic-native/fcm": "^5.34.0",
"@ionic-native/file": "^5.36.0",
"@ionic-native/file-chooser": "^5.31.1",
"@ionic-native/file-opener": "^5.31.1",
"@ionic-native/file-path": "^5.31.1",
"@ionic-native/file-transfer": "^5.36.0",
"@ionic-native/pdf-generator": "^5.36.0",
"@ionic-native/social-sharing": "^5.36.0",
"@ionic-native/splash-screen": "^5.31.1",
"@ionic-native/status-bar": "^5.31.1",
"@ionic-native/stripe": "^5.31.1",
"@ionic/angular": "^5.5.2",
"@ngx-translate/core": "^13.0.0",
"@ngx-translate/http-loader": "^6.0.0",
"cordova": "^10.0.0",
"cordova-plugin-androidx": "^3.0.0",
"cordova-plugin-androidx-adapter": "^1.1.3",
"cordova-plugin-x-socialsharing": "^6.0.3",
"ion2-calendar": "git+https://github.com/shaneparsons/ion2-calendar.git#76ae1e241183500a377647b363c931a03aa50bca",
"ionic-native": "^2.9.0",
"ionic-selectable": "4.8.0",
"ionic2-calendar": "^0.6.7",
"jetifier": "^2.0.0",
"jquery": "^3.6.0",
"jspdf": "^1.4.1",
"moment": "^2.29.1",
"native-run": "^1.4.0",
"ng2-search-filter": "^0.5.1",
"pdf-to-base64": "^1.0.3",
"platform": "1.3.6",
"rxjs": "~6.6.0",
"select2": "^4.1.0-rc.0",
"socket.io-client": "^2.3.0",
"tslib": "^2.0.0",
"zone.js": "~0.10.2"
},
"devDependencies": {
"@angular-devkit/build-angular": "~0.1102.4",
"@angular/cli": "~11.2.4",
"@angular/compiler": "~11.2.0",
"@angular/compiler-cli": "~11.2.0",
"@angular/language-service": "~11.2.0",
"@ionic/angular-toolkit": "^3.1.1",
"@types/jasmine": "~3.6.0",
"@types/jasminewd2": "~2.0.3",
"@types/node": "^12.11.1",
"codelyzer": "^6.0.0",
"com-badrit-base64": "^0.2.0",
"cordova-android": "9.1.0",
"cordova-ios": "^6.2.0",
"cordova-pdf-generator": "^2.1.1",
"cordova-plugin-android-permissions": "^1.1.2",
"cordova-plugin-camera": "^4.1.0",
"cordova-plugin-device": "^2.0.2",
"cordova-plugin-fcm-with-dependecy-updated": "^7.8.0",
"cordova-plugin-file": "^6.0.2",
"cordova-plugin-file-opener2": "^3.0.5",
"cordova-plugin-file-transfer": "^1.7.1",
"cordova-plugin-filechooser": "^1.2.0",
"cordova-plugin-filepath": "^1.6.0",
"cordova-plugin-ionic-keyboard": "^2.2.0",
"cordova-plugin-ionic-webview": "^4.2.1",
"cordova-plugin-splashscreen": "^6.0.0",
"cordova-plugin-statusbar": "^2.4.3",
"cordova-plugin-stripe": "^1.5.3",
"cordova-plugin-whitelist": "^1.3.3",
"jasmine-core": "~3.6.0",
"jasmine-spec-reporter": "~5.0.0",
"karma": "~5.2.0",
"karma-chrome-launcher": "~3.1.0",
"karma-coverage": "~2.0.3",
"karma-coverage-istanbul-reporter": "~3.0.2",
"karma-jasmine": "~4.0.0",
"karma-jasmine-html-reporter": "^1.5.0",
"protractor": "~7.0.0",
"ts-node": "~8.3.0",
"tslint": "~6.1.0",
"typescript": "~4.0.2"
},
"description": "An Ionic project",
"cordova": {
"plugins": {
"cordova-plugin-whitelist": {},
"cordova-plugin-device": {},
"cordova-plugin-ionic-webview": {
"ANDROID_SUPPORT_ANNOTATIONS_VERSION": "27.+"
},
"cordova-plugin-ionic-keyboard": {},
"cordova-plugin-stripe": {},
"cordova-plugin-camera": {
"ANDROID_SUPPORT_V4_VERSION": "27.+"
},
"cordova-plugin-file": {},
"cordova-plugin-filechooser": {},
"cordova-plugin-filepath": {},
"cordova-plugin-file-opener2": {
"ANDROID_SUPPORT_V4_VERSION": "27.+"
},
"com-badrit-base64": {},
"cordova-plugin-splashscreen": {},
"cordova-plugin-android-permissions": {},
"cordova-plugin-file-transfer": {},
"cordova-plugin-statusbar": {},
"cordova-plugin-fcm-with-dependecy-updated": {
"ANDROID_DEFAULT_NOTIFICATION_ICON": "@mipmap/ic_launcher",
"ANDROID_FCM_VERSION": "21.0.0",
"ANDROID_FIREBASE_BOM_VERSION": "26.0.0",
"ANDROID_GOOGLE_SERVICES_VERSION": "4.3.4",
"ANDROID_GRADLE_TOOLS_VERSION": "4.1.0"
},
"cordova-plugin-androidx": {},
"cordova-plugin-androidx-adapter": {},
"cordova-pdf-generator": {}
},
"platforms": [
"android",
"ios"
]
}
}

@AppXprt
Copy link

AppXprt commented Oct 11, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants