David Quon
David Quon
@FabienRakoto Have a you had any luck with this? I'm having a similar issue using this `config/cors.php` hitting an endpoint like https://site.com/api/endpoint. Seems like an issue with `POST` using a...
I was able to fix this with Ionic doing this. https://forum.ionicframework.com/t/ionic-4-laravel-cors/165763/6 ``` const headers = new HttpHeaders({ 'Authorization': "Bearer " + token, 'Content-Type': 'application/json', 'Access-Control-Allow-Origin': '*', 'Access-Control-Allow-Headers': '*', 'Accept': 'application/json,...
@barryvdh This issue specified using Ionic 5 (client) to talk with a Laravel 7 API (server) which is using `fruitcake/laravel-cors` which is what is having issues when sending an authorization...
Just to be a bit clearer https://github.com/fruitcake/laravel-cors/issues/477#issuecomment-664709886 is what I did using Ionic 5 (client-side) to make the Laravel 7 API (server-side) return the correct data and work around the...
Setting `supports_credentials` to `true` helped solve it as well for me per this comment. https://github.com/fruitcake/laravel-cors/issues/478#issuecomment-664827785 Then I'm able to set the header to this in Ionic on the client-side: ```...
I'm having the same issue. I tried isolating it down just asking for one permission at a time but it seems to error regardless. https://github.com/NeoLSN/cordova-plugin-android-permissions/issues/88#issuecomment-765817058
I'm using a Samsung S9 running Android 10 and am encountering this issue as well. These are the permissions I'm asking for: ``` let requestedPermissions = [ this.androidPermissions.PERMISSION.ACCESS_COARSE_LOCATION, this.androidPermissions.PERMISSION.CAMERA, this.androidPermissions.PERMISSION.READ_EXTERNAL_STORAGE,...
Also in case it helps. I'm currently only building and having the issue on Android. ``` $ ionic info Ionic: Ionic CLI : 6.12.3 (/Users/DQ/.nvm/versions/node/v10.20.0/lib/node_modules/@ionic/cli) Ionic Framework : @ionic/angular 5.5.2...
I think I figured out what the issue was for me. I had code that prompts for `this.androidPermissions.PERMISSION.READ_EXTERNAL_STORAGE` permission in the app start-up as well as another place in app...
Can someone make a template for what the radar should be asking for (or post links to Open Radars)?