You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2022/06/20 03:31:24 UTC

[GitHub] [cordova-plugin-inappbrowser] alexdemesa22 opened a new issue, #952: Closed the inAppbrowser the screen is stuck on IOS ionic 4

alexdemesa22 opened a new issue, #952:
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/952

   # Bug Report
   
   ## Problem
   
   ### What is expected to happen?
   When closing the inAppBrowser the screen will not stuck on ios ionic 4
   
   
   ### What does actually happen?
   After closing the inAppBrowser the screen is stuck and cannot touch on ios 
   
   
   ## Information
   <!-- Include all relevant information that might help understand and reproduce the problem -->
   
   
   
   ### Command or Code
   <!-- What command or code is needed to reproduce the problem? -->
   Using this code that reproduce the issue
   browser = cordova.InAppBrowser.open(
         this.urlBeneChat + param,
         '_blank',
         'location=no,presentationstyle=popup,minimizeenabled=yes,closeenabled=yes,prompt=yes,headerbg=002345,haslinks=yes'
       );
   
   browser.addEventListener('message', (event) => {
         if (event.data.route.indexOf('back') !== -1) {
           let strRoute: string = event.data.route;
           browser.removeEventListener('exit', () => {
             // This is intentional
           });
           // Removes mycare:/ string from event.data.route
           let pathRoute: string = '';
           pathRoute = strRoute.substr(8);
           if (pathRoute.toLowerCase().indexOf('back') !== -1) {
             browser.close();
           } else {
             browser.close();
             this.router.navigate([this.router.url]);
           }
         }
       });
   
   ### Environment, Platform, Device
   <!-- In what environment, on what platform or on which device are you experiencing the issue? -->
   "dependencies": {
       "@agm/core": "^3.0.0-beta.0",
       "@angular/common": "~10.0.0",
       "@angular/core": "~10.0.0",
       "@angular/forms": "~10.0.0",
       "@angular/platform-browser": "~10.0.0",
       "@angular/platform-browser-dynamic": "~10.0.0",
       "@angular/router": "~10.0.0",
       "@awesome-cordova-plugins/camera": "^5.39.1",
       "@awesome-cordova-plugins/core": "^5.39.1",
       "@ionic-native/android-permissions": "^5.31.1",
       "@ionic-native/core": "^5.31.1",
       "@ionic-native/deeplinks": "^5.30.0",
       "@ionic-native/file": "^5.31.1",
       "@ionic-native/file-transfer": "^5.31.1",
       "@ionic-native/geolocation": "^5.30.0",
       "@ionic-native/google-analytics": "^5.31.1",
       "@ionic-native/google-maps": "^5.5.0",
       "@ionic-native/in-app-browser": "^5.30.0",
       "@ionic-native/native-geocoder": "^5.30.0",
       "@ionic-native/native-storage": "^5.31.1",
       "@ionic-native/preview-any-file": "^5.36.0",
       "@ionic-native/splash-screen": "^5.0.0",
       "@ionic-native/status-bar": "^5.0.0",
       "@ionic/angular": "^5.0.0",
       "@ionic/storage": "^2.3.1",
       "@ngx-translate/core": "^13.0.0",
       "@ngx-translate/http-loader": "^6.0.0",
       "@types/hammerjs": "^2.0.38",
       "cordova-browser": "6.0.0",
       "forcejs": "file:lib/forcejs",
       "hammerjs": "^2.0.8",
       "idlejs": "^3.0.0",
       "ionic-pullup": "^5.0.0-beta.3",
       "lottie-web": "^5.7.6",
       "moment": "^2.29.1",
       "ngx-autosize": "^1.8.4",
       "ngx-lottie": "^6.4.0",
       "rxjs": "~6.5.5",
       "shelljs": "^0.7.0",
       "ts-md5": "^1.2.7",
       "tslib": "^2.0.0",
       "zone.js": "~0.10.3"
     },
   "devDependencies": {
       "@angular-devkit/build-angular": "~0.1000.0",
       "@angular/cli": "~10.0.5",
       "@angular/compiler": "~10.0.0",
       "@angular/compiler-cli": "~10.0.0",
       "@angular/language-service": "~10.0.0",
       "@havesource/cordova-plugin-push": "^1.0.0",
       "@ionic/angular-toolkit": "^2.3.0",
       "@types/googlemaps": "^3.39.12",
       "@types/jasmine": "~3.5.0",
       "@types/jasminewd2": "~2.0.3",
       "@types/node": "^12.11.1",
       "codelyzer": "^6.0.0",
       "cordova-android": "^8.1.0",
       "cordova-androidx-build": "^1.0.4",
       "cordova-ios": "^5.1.1",
       "cordova-plugin-add-swift-support": "^2.0.2",
       "cordova-plugin-android-permissions": "^1.1.2",
       "cordova-plugin-androidx": "^3.0.0",
       "cordova-plugin-androidx-adapter": "^1.1.3",
       "cordova-plugin-camera": "^4.1.0",
       "cordova-plugin-cocoapod-support": "^1.6.2",
       "cordova-plugin-device": "^2.0.2",
       "cordova-plugin-file": "^6.0.2",
       "cordova-plugin-file-transfer": "^1.7.1",
       "cordova-plugin-geolocation": "^4.1.0",
       "cordova-plugin-google-analytics": "^1.9.0",
       "cordova-plugin-googlemaps": "git+https://github.com/mapsplugin/cordova-plugin-googlemaps.git#multiple_maps",
       "cordova-plugin-googlemaps-sdk": "git+https://github.com/mapsplugin/cordova-plugin-googlemaps-sdk.git",
       "cordova-plugin-inappbrowser": "^4.1.0",
       "cordova-plugin-ionic-keyboard": "^2.2.0",
       "cordova-plugin-ionic-webview": "^5.0.0",
       "cordova-plugin-nativegeocoder": "^3.4.1",
       "cordova-plugin-nativestorage": "^2.3.2",
       "cordova-plugin-preview-any-file": "^0.2.9",
       "cordova-plugin-splashscreen": "5.0.2",
       "cordova-plugin-statusbar": "2.4.2",
       "cordova-plugin-whitelist": "^1.2.0",
       "cordova-plugin-wkwebview-engine": "git+https://github.com/apache/cordova-plugin-wkwebview-engine.git",
       "cordova-sqlite-storage": "^5.1.0",
       "cordova-support-google-services": "^1.4.1",
       "ionic-plugin-deeplinks": "^1.0.20",
       "jasmine-core": "~3.5.0",
       "jasmine-spec-reporter": "~5.0.0",
       "karma": "~5.0.0",
       "karma-chrome-launcher": "~3.1.0",
       "karma-coverage-istanbul-reporter": "~3.0.2",
       "karma-jasmine": "~3.3.0",
       "karma-jasmine-html-reporter": "^1.5.0",
       "protractor": "~7.0.0",
       "SalesforceMobileSDK-CordovaPlugin": "git+https://github.com/forcedotcom/SalesforceMobileSDK-CordovaPlugin.git#v8.3.0",
       "ts-node": "~8.3.0",
       "tslint": "~6.1.0",
       "typescript": "~3.9.5"
     },
   
   
   ### Version information
   <!-- 
   What are relevant versions you are using?
   For example:
   Cordova: Cordova CLI, Cordova Platforms, Cordova Plugins 
   Other Frameworks: Ionic Framework and CLI version
   Operating System, Android Studio, Xcode etc.
   -->
   
   ionic 4
   angular 10
   IOS 15.5
   
   
   ## Checklist
   <!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
   
   - [ ] I searched for existing GitHub issues
   - [ ] I updated all Cordova tooling to most recent version
   - [ ] I included all the necessary information above
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-inappbrowser] alexdemesa22 closed issue #952: Closed the inAppbrowser the screen is stuck on IOS ionic 4

Posted by GitBox <gi...@apache.org>.
alexdemesa22 closed issue #952: Closed the inAppbrowser the screen is stuck on IOS ionic 4
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/952


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-inappbrowser] alexdemesa22 commented on issue #952: Closed the inAppbrowser the screen is stuck on IOS ionic 4

Posted by GitBox <gi...@apache.org>.
alexdemesa22 commented on issue #952:
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/952#issuecomment-1258880884

   I found a solution that might fix your issues as well https://stackoverflow.com/questions/42541610/issues-with-resuming-after-ios-pause-event-in-landscape-using-cordova-ionic-app. Its related to salesforcesdk using the inappbrowser


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org