Quantcast
Channel: Ionic Forum - Latest posts
Viewing all 231638 articles
Browse latest View live

Problem with certain images URL

$
0
0

My backend is returning an image URL like this:
//cdn.shopify.com/s/files/1/0344/4398/5031/products/Sriracha_Front_f87e91cf-85da-44d1-8716-bb0246c2b6e1_grande.png?v=1583745215
on Android and web it works fine. But on iOS the img tag doesn’t resolve the image.

Do you know a way to fix this error?


Create ionic 4 Project

$
0
0

I downgraded ionic version to 4.12.0 and when i create a project and check versions on package.json

"dependencies": {

    "@angular/common": "~9.1.6",

    "@angular/core": "~9.1.6",

    "@angular/forms": "~9.1.6",

    "@angular/platform-browser": "~9.1.6",

    "@angular/platform-browser-dynamic": "~9.1.6",

    "@angular/router": "~9.1.6",

    "@ionic-native/core": "^5.0.7",

    "@ionic-native/splash-screen": "^5.0.0",

    "@ionic-native/status-bar": "^5.0.0",

    "@ionic/angular": "^5.0.0",

    "rxjs": "~6.5.1",

    "tslib": "^1.10.0",

    "zone.js": "~0.10.2"

  }

Ionic 4: Log in as a different user, previous user's data still shows

$
0
0

I prefer JWT to cookies for everything, because they’re stateless and are built from well-tested cryptographic blocks. As for how to store them client-side, I have yet to encounter a situation where I was tasked to worry about multiple users sharing a physical device, so I just save them using Ionic Storage. If you do care about that situation (white hat and black hat using the same Ionic app on the same device), you could look into something like NativeStorage, although I tend to simply assume that anybody with physical access to a device can get at anything stored on it.

Passing data back from nav.pop()

$
0
0

using services concept , which fast and easy to maintain

IONIC 3 IOS : App failed on deploy

$
0
0

Hey,

my application is rejected by apple team : i have a problem on ipad 13.5.1.
the probelme is that I can’t specify IOS 13.5.1 on the simulator target : only version 13.5 is allowed.

I note that I fixed the problems on version 13.5 caused by wkwebview.

Create ionic 4 Project

$
0
0

Here is a conversation with somebody who gave what I thought was a considerably more constructive answer to that question. You may especially be interested in the comments from one of the Ionic team members in that thread.

Implement Firebase In-App Messaging in Ionic

$
0
0

Recently I show a new option in the firebase console called "In-App Messaging" so I wondered is there any option in ionic plugin to implement the same so I go through the each and every firebase plugin like https://ionicframework.com/docs/native/firebase-messaging/ and https://ionicframework.com/docs/native/fcm/

But can’t find any option related to this so I tried with installing the fcm plugin just need to check in case its automatically managed by firebase libraries. But when I create an In-App campaign and checked anything happens or not but nothing is happening.

so do you guys have any idea how its work ? I understand its still in beta mode so it will take time to reflects in ionic plugin.

Ionic Http appending header

$
0
0

The problem is that my Authorization token is never appended to the headers. When I traced using debugger, I found that reqOpts has my appended headers in something called lazyUpdate. My http call fails as no authorization token was sent so I get an Unauthorized error.


Ionic 5 http request returns only "undefined"

$
0
0

Using HTTP instead of HTTPS.

Using HTTPS. If you need a certificate, LetsEncrypt provides them for free.

Ionic Cordova API Authorisation 401

$
0
0

Ionic application developed in angular 9 combination.

While Authenticating API using header value, application working fine in Android and Web. Same code not working in iOS and giving 401 error.

First i have tried with import { HttpClient, HttpErrorResponse, HttpHeaders, HttpParams } from '@angular/common/http';

Worked in Web and Android, not worked in iOS, In iOS getting 401 error.

Then i integrated import { HTTP } from '@ionic-native/http/ngx'; and tried API call same result.

401 error

Capacitor without cordova or not

$
0
0

hey,

About mobile developpement, is capacitor will be independant from cordova in the future ?
I mean it will not have to use cordova plugins to hide statusbar or somehting else like it.

cordials,

Ionic Http appending header

$
0
0

I doubt anybody will be able to say anything constructive without seeing enough of your code to reproduce the problem (and please make it available in a usable format, as opposed to screenshots of text).

Help - Ionic Serve == Blank - No error Message

Ionic ios app getting rejected for UIWebview

$
0
0

I am also stuck, please if you find the answer tell us.

Ionic 4: Log in as a different user, previous user's data still shows

$
0
0

I hope this won’t be considered hijacking @obinnae post… I’ve implemented JWT for an e-commerce ionic app am building. Is it necessary to have refresh tokens and what would necessitate them… Or what strategy would you implement


Ionic build halts without any error

$
0
0

Odd that it doesn’t give an error.
Possibly start with: ionic repair
Just an idea.

Capacitor without cordova or not

$
0
0

That would be my understanding. Capacitor is a Ionic’s version of Cordova, and I think it is intended to replace it.

Ionic Native Gelocation not working

$
0
0

NW just have to include this line in your code:
this.geolocation.getCurrentPosition({ ‘enableHighAccuracy’: true }).then(geo=>{
//geo.coords.latitude
});

Please don’t forget to include ‘enableHighAccuracy’ with: ‘’

It was a very pleasure

Ionic 5 http request returns only "undefined"

$
0
0

I’ve tinkered with WordPress before and am think ing it could be the headers accepted by WordPress. Try hitting the API using postman or var_dump in the WordPress function being hit by the call you see what arrives there… maybe you could do a trail back to the Ionic app

Ionic 5 auto complete

$
0
0

You need to import the module in your page’s module.ts file. For example, if you’re using the component in the Home Page, import it in your home.module.ts file.

import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';

import { IonicModule } from '@ionic/angular';
import { IonicSelectableModule } from 'ionic-selectable';
i
import { HomePageRoutingModule } from './home-routing.module';
import { HomePage } from './home.page';

@NgModule({
	imports: [
		CommonModule,
		FormsModule,
		IonicModule,
		IonicSelectableModule,
		HomePageRoutingModule
	],
	declarations: [HomePage]
})
export class HomePageModule {}

Hope this helps,
Alex

Viewing all 231638 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>