Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all 48979 articles
Browse latest View live

How to set a root page on ionic 4

$
0
0

@Gazoh wrote:

So what i want is to set a rootPage and not something that is directing me to that page but whenever i start the app it goes to the root page no forwarding. I can’t seem to find it anywhere so could someone maybe help me out?

Posts: 1

Participants: 1

Read full topic


Not able to create app in ionic version 3.20.1 after uninstalling latest ionic 4 version

How to show/hide a button based on scroll

$
0
0

@flycoders_sourav wrote:

how to show/hide a button based on a scroll actually i want to do that when any user cross using scroll on this time showing a go to top button how can i do that help me any one
any help would be highly appreciated
Thanks

Posts: 1

Participants: 1

Read full topic

Can't set custom header in httpclient (ionic 3 app angular 5)

$
0
0

@kalpeshkkalekar wrote:

I am trying to use an api which requires an API key ‘Auth’, I am trying to send the key using httpHeaders using below code

getTest(){
let data = {'loginusertype':'12','loginuserid':'51','apitype':'1','start':'0','end':'20'};
let headers = new HttpHeaders({'Content-Type':'application/json; charset=utf-8','Auth':'593eb2c274d640a8798493bf340e08b6'});
this.http.post('http://www.mymediaxchange.com/api/serviceapi/v1/currentworks',data,{headers:headers})
.subscribe(
  (data) => console.log(data),
  (error) => console.log(error)
)  }

But I am not able to set headers the headers are set as below

Posts: 1

Participants: 1

Read full topic

Crop Image with Ionic 3 Camera ( Square => Circle)

Ionic 4 - Works on Android, not on IOS

$
0
0

@Lona wrote:

I´ve got a app that does a simple REST call to a external endpoint. Works well when running ionic serve.

Deploying this on my Android Device it works and it download the data from the endpoint.
Deploying on my Iphone, it does not work and give me the following error:

2019-02-12 23:03:41.229522+0800 rpg-flw-4[606:145510] {"headers":{"normalizedNames":{},"lazyUpdate":null,"headers":{}},"status":0,"statusText":"Unknown Error","url":"<someurl>","ok":false,"name":"HttpErrorResponse","message":"Http failure response for <someurl>: 0 Unknown Error","error":{"isTrusted":true}}

Does this make sense to anyone? Give me some hints to why this would happen?

Posts: 1

Participants: 1

Read full topic

Router navigation not working after first time

$
0
0

@riteshrajoria wrote:

Is there an issue with the routerLink attribute?
It only works once and then stops working. Here is my code snippet from my Home Page –

        <ion-card routerLink="details" routerDirection="forward">
          <ion-card-content text-center>
            <ion-icon name="information" size="large"></ion-icon>
            <p>Details</p>
          </ion-card-content>
        </ion-card>

The link works fine the first time, and I am successfully navigating to my details page. Then on Details page I can using the and that too works fine.

However, once I come back to the Home page from the Details page, using the back-button; the router link stops working.
This is similar to the issue described here – https://github.com/ionic-team/ionic/issues/16534

Is it still an open issue? Any way to fix it?

Posts: 1

Participants: 1

Read full topic

Performence Problem after App Build

$
0
0

@jonasalin99 wrote:

Hello together,
i build a very simple ionic app.

I deployed it with ionic cordova run android --prod to my phone and there the app runs very slow.
A Button klick needs nearly a half second to call the function.

In the Browser the App runs perfectly without any problems.

Posts: 1

Participants: 1

Read full topic


Les actions sur les buttons

Ionic V4 background-image of ion-content

$
0
0

@roopeshc wrote:

The below code is making the page flicker during navigation.

ion-content{
    --background: url('assets/images/background.jpg')  no-repeat 50% 10%;
}

Ionic v4 - version 4.0.1 stable
OS: iOS

Thanks
Roopesh

Posts: 1

Participants: 1

Read full topic

Phonegap-push plugin background mode

$
0
0

@bilisim1995 wrote:

Hi !

I am using a phonegap-plugin-push for receiving notifications in ionic3 cordova app. I am deploying on android for testing.

When the app is in foreground (on screen) I receive the contents (title, message, data, etc.) properly and I am able to see them in alert box directly in the app.The function push.on(‘notification’, function(data) {} is called.

But when app is in background (not on screen but running in backround), I get the notification in Notification Area. When I click on the notification received, it is redirecting me to the last opened page in the app.

The function push.on(‘notification’, function(data) {} is not called. No alert messages are shown. Can someone help me how to access the notification message and data in background?

 pushObject.on('notification').subscribe((notification: any) =>{ 

        if (notification.additionalData.coldstart) {
          console.log("background"); 
     }
   
    if(notification.additionalData.foreground) {
      console.log("foreground");
     
    }
 });

foreground -> pushObject.on(‘notification’).subscribe((notification: any) is called

background -> pushObject.on(‘notification’).subscribe((notification: any) is not called, show default notoication

Posts: 1

Participants: 1

Read full topic

How can i change ionic 4 fab padding

ionic Background Geolocation is not working on abou android 8.1

$
0
0

@nareshionic wrote:

i am using
cordova-plugin-mauron85-background-geolocation GPS plugin for Location
Tracking
for one of my application but unfortunately this plugin is not working
or supporting the Android Version 8.1 & Above…
whats the reason behind that???

Any plugin Update is need to be done…

Please provide me solution with this plugin to support the Android v8.1
& above so i can take an advantage of this plugin…

or there is any another problem or vulnerability in this plugin to
support with latest version of Android if yes than please detail guide
me to solve this…

Needed Urgently,

Posts: 1

Participants: 1

Read full topic

Tabs Style

Ion-datetime showing 31 days in February

$
0
0

@bandito wrote:

Has anyone being able to fix the bug with ion-datetime showing 31 days in the month of February when changing from January or March?

Posts: 1

Participants: 1

Read full topic


Ionic 4 Vue Data Table

$
0
0

@BenHayat wrote:

@Admin Firstly I can’t find Category for Ionic 4 to start my thread. Please add Ionic 4 to category

To my question/request: We’re planning to use Ionic 4 with Vue and since this is a LoB app using Firebase Firestore DB, we need Data Table/Grid with rich features as users are used to grid for the past 4 decades.

When do we expect to see a Data table as part of UI component from Ionic?
Thanks!
…Ben

Posts: 1

Participants: 1

Read full topic

How to get Google Advertisement ID in Ionic3

$
0
0

@pavan63 wrote:

Hi we tried to get Advertisement ID using ionic3 application.We added plugin

cordova plugin add cordova-plugin-idfa --save

We tried like this

cordova.plugins.idfa.getInfo().then(function(info) {
if (!info.limitAdTracking) {
console.log(‘OK getting ID**********’+info.idfa || info.aaid);
}
});

and

window.cordova.plugins.idfa.getInfo().then(function(info) {
if (!info.limitAdTracking) {
console.log(‘OK getting ID**********’+info.idfa || info.aaid);
}
});

both not working please guide me what we need do .is there any other option to get Google_Advertisement ID.

Posts: 1

Participants: 1

Read full topic

Property 'getRootNav' does not exist on type 'App'

$
0
0

@albincs wrote:

Anyone please help on this!!

ERROR in src/app/app.component.ts(171,28): error TS2339: Property 'getRootNav' does not exist on type 'App'.

Posts: 1

Participants: 1

Read full topic

Using a ion-select programatically in v4

this.navCtrl.pop(); Call to redirect page how to refresh

$
0
0

@iwon wrote:

Hii
how to refresh page using redirect to this function after this.navCtrl.pop();

Posts: 1

Participants: 1

Read full topic

Viewing all 48979 articles
Browse latest View live


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