apache / apache/cordova-plugin-inappbrowser

Ajax fails when making request to sub-domain

Open
#381 1 comment 0 reactions 0 assignees View on GitHub
support
Dominant language
Java
Stars
1.1k
Forks
2.2k
PR merge metrics
No merged PRs in 30d

Description

I am opening in appbrowser with this code:

`const browser = this.iab.create('https://www.example.com/login/','_blank',{location:'no'});`

inside login page there is an ajax to this url:

**https://search.example.com:3000/zip/?keyword=1235**

It is working fine with browser, but on real device it cancels automatically, here are screeshot while live debugging on real device

![image](https://user-images.githubusercontent.com/14073475/50387019-38cc4a00-0719-11e9-8861-3cc77984611d.png)

Contributor guide

Open the contributing guide

Research direction

Reproduce the `this.iab.create` call on a real device and compare it with browser behavior, recording the device platform and the AJAX cancellation details. The report names no source file or test; done means identifying the cause of the cancelled request to the sub-domain on port 3000 and documenting a reproducible result.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.