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

Ion-nav duplicando os icones

$
0
0

Olá, sugiro passar sua pergunta para o inglês para atingir um maior número de visualizações. Por favor, nos informe também o código que você está usando para exibir esses ícones.


New projects are created with ionic version 4.7.1 - how to update?

$
0
0

Every new project of ionic is created with “ionic/angular”: “^4.7.1” - even if i use npm update -g ionic. I also habe installed the “new” @ionic/cli

My ionic info:
Ionic:
Ionic CLI : 6.0.1
Utility:
cordova-res : not installed
native-run : 0.2.9
System:
NodeJS : v12.13.0
npm : 6.13.7
OS : Windows 10

Pagination not work on ion-slides (Ionic 4)

$
0
0

Hi,

I’m using Ionic 4 and I try to show ion-slides with his pagination, but it doesn’t work.

My html code is:

<ion-slides (ionSlideDidChange)="sendImageToLedwall()"
                        pager="true"
                        [options]="{pagination: { el: '.swiper-pagination', type: 'bullets', clickable: true}, initialSlide: 0, centeredSlides: true}"
                        #imagesSlider>
                <ion-slide (click)="zoomImage(image)"
                           *ngFor="let image of images[activeColor.code]">
                    <app-image [image]="image"
                               sizeClass="big"></app-image>
                </ion-slide>
</ion-slides>

“Swiperjs” is the library that Ionic use for slider and I check its demo sorce code (https://swiperjs.com/demos/) with pagination.

But in my rendering html, I have:
image

Any idea?

Thank you

Ionic 4: change ion-content background-image programmatically (iOS)

$
0
0

Hello,

I’m trying to set the background of my ion-content via TS, using ngStyle on html.
the problem is that i’m using bypassSecurityTrustResourceUrl for iOS and it works when try to show it in image but it’s not woking when I try to set it with ng Style , I tried also [Style.background] but it’s showing me Security warning and not showing anything.

Ts part

this.image = this.sanitizer.bypassSecurityTrustResourceUrl(this.webview.convertFileSrc(cordova.file.dataDirectory + img));

This is not showing the image : when I inspect i get background-image ionic://localhost/undefined, I tried also --background.

<ion-content fullscreen class="ion-padding" [ngStyle]="{'background-image':'url('+image+')'}">

This works fine and showing my picture:

<img [src]="image" style="width: 70px; height: 100px;" /> 

Angular version: 8.1.2
ionic-native/core: 5.0.0
iOS: 13.3.1

Ion-select-option unable to give any event

InAppBrowser not reacting to device sensors in VR mode

$
0
0

I have a web project developped in babylonjs. The thing is a 3d scene with objects and all. I have used ionic cordova to build the android app that links to the web project in a inappbrowser. The project works fine when i access it directly from my android. However when i run the android app, click to go to the link, enter VR mode…everything displays correctly BUT the camera does not react to the device movements. Any help please.
…btw Im new to ionic
Cheers

Ionic 4 Deeplinks

$
0
0

Add it to the providers list in app.module.ts

Virtual scroll not working in ionic 4

$
0
0

a scroll function stops working when you put the “click” function or others in the element … removing the click function, it will work, but this is terrible, I didn’t find a solution …


Facebook login not working in ionic 4 react

$
0
0

Hello,

I’ve tried the facebook login for ionic 4 react.
Use steps from:
https://enappd.com/blog/facebook-login-in-ionic-react-capacitor-apps/118/

but its not working…

please help me…

Plugins native error: Object(…) is not a function

Long delay accessing iOS contacts with ionic 4

$
0
0

Unfortunately not. The behaviour is different on different iphones, but I do not have access to enough of them to see which factor it is that makes the difference.

Ionic 4 Cannot destructure property `createHash` of 'undefined' or 'null'

Ionic 4 Cannot destructure property `createHash` of 'undefined' or 'null'

$
0
0

Yes, I downgraded Cordova to 7, maybe to 7.3.8 but I dont remember at the moment the right version

Ionic 3: Deeplinking

What are navparams in ionic

$
0
0

navParams are a service facility to allow you to pass data backwards and forwards between popovers and modals.


Ionic 3: Deeplinking

$
0
0

Kind of two sides to deep linking. If a link takes the user to the app, or there is a link inside the app that takes the user to different app. This second one is what I’m trying to implement now.
How do you call this link?

TypeError: Object prototype may only be an Object or null: undefined at setPrototypeOf (native)

Ionic 3: Deeplinking

$
0
0

Honestly, I don’t understand your question very well. If what you want is only to open the application that you have from some other application, what you have to do is what I wrote to you previously.
Now, if what you want to do is navigate inside the application, I recommend you follow this link: https://ionicframework.com/blog/deeplinking-in-ionic-apps/

Ionic 3: Deeplinking

$
0
0

Thanks.
Yeah, currently they have a Universal Link for me to use.
I feared I would need to install another plugin to support.

Or I could set up a deeplink using branch.io now its just a normal URL link I think.
I don’t think I would need to have a plugin to call that link? Unsure of that. How to call such a link in Ionic/TypeScripts?

Ionic 3: Deeplinking

$
0
0

OK great.

In order to open an external application, what you should do is use a plugin called com.lampa.startapp, I leave the link below:

It should be noted that in iOS you have to add the configuration to indicate which application you are going to open, something like a whitelist.

You need to add this in the config.xml

<config-file overwrite="true" parent="LSApplicationQueriesSchemes" target="*-Info.plist">
            <array>
                <string>appname</string>
                <string>appname://</string>
                <string>appname://app</string>
             </array>
        </config-file>
Viewing all 228527 articles
Browse latest View live


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