Quantcast
Channel: Ionic Forum - Latest topics
Viewing all 70440 articles
Browse latest View live

Error on : Object(...) is not a function at Deeplinks.route

$
0
0

@Saravanantg wrote:

Error on deep links , (ionic 3).

Code:

constructor(platform: Platform, statusBar: StatusBar, splashScreen: SplashScreen, private deeplinks: Deeplinks) {


platform.ready().then(() => {
  // Okay, so the platform is ready and our plugins are available.
  // Here you can do any higher level native things you might need.
  statusBar.styleDefault();
  splashScreen.hide();



  this.deeplinks.route({
      '/': {},
      '/reset-password/:Id': MmresetpasswordPage
    })
    .subscribe(match => {
      alert(JSON.stringify(match));
    }, nomatch => {
      alert(JSON.stringify(nomatch));

    });

});

Anyone, any clues, any help, plz?

Thx in advance!

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

Ionic 4 (Facebook Login) (Errir code: 1349195)

$
0
0

@JulioNicolasPapp wrote:

Hello everyone, i’m trying to Sign in with Facebook Account, I try to connect Console logs say:

"Facebook error: SERVER_ERROR: [code] 1349195 [message]: The hash of the key does not match any of the stored key hashes. Go to https://developers.facebook.com/docs/facebook-login/android for get more information. [extra]: "

I put the Hashes in Android seccion and in Developers seccion. Can someone help me with the problem?It’s to much important. thanks

Posts: 1

Participants: 1

Read full topic


How add var in tabs (var auto refresh) ionic4

$
0
0

@wiloooo wrote:

Hi eveybody !

First of all thank you for reading me. I would like to have an automatic refresh variable in my tabs, (no matter the page, I want this variable to be updated during a firebase notification for example)
comment is it possible? I dry a little!

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

Plugin_Not_Installed for AES256 plugin

$
0
0

@e2cstaylor wrote:

Have installed the AES256 native plugin into my Ionic v4 project according to this documentation:

When I try to use any of the methods, such as aes256.Encrypt, I get the error plugin_not_installed.

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


Push notification for ionic v1

$
0
0

@mehthaf wrote:

now i’m working with ionic v1 app . i need add push notification service to my app .
someone please give me a solutoin for this. how to add push notification service

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

How to move a marker smoothly from source to destination in google maps

$
0
0

@Ferozabdul wrote:

I am working on taxi booking app. i want to implement the car moving animation in google map from one place to another. How to do ? can anyone help me…

Posts: 1

Participants: 1

Read full topic

Can't upload image to server using FileTransfer

$
0
0

@OliverPrimo wrote:

Hello Everyone :slight_smile:

I am trying to upload an image from my app to the server but it doesn’t work. It always returns:

{
    "code": 1,
    "http_status": 405, // Method Not Allowed
}

Here is my code:

TS File

    const fileTransfer: FileTransferObject = this.fileTransfer.create();

    let options1: FileUploadOptions = {
        fileKey: 'file',
        fileName: 'name.jpg',
        headers: {
            'Accept' : 'application/json',
            'Authorization' : 'Bearer ' + this.token
        }
    }
    
    fileTransfer.upload(imageData, apiUrl, options1)
    .then((data) => {
        this.loadingSrvc.hide();
        let alert = this.alertCtrl.create({
            message: JSON.stringify(data)
        });
        alert.present();
    }, (err) => {
        this.loadingSrvc.hide();
        let alert = this.alertCtrl.create({
            message: JSON.stringify(err)
        });
        alert.present();
    });

API URL

    public function profilePicture(Request $request)
    {
        if(Input::file('file')){
            $newFileName = 'investor-'.strtolower(Auth::user()->first_name).'-'.date('m-d-Y-H-i-s').'.'.Input::file('file')->extension();
            $newFilePath = public_path('assets/images/investor/profile/');
            
            Input::file('file')->move($newFilePath,$newFileName);
            
            Investor::where('investor_id', Auth::user()->investor_id)->update([
                'profile_image' => 'assets/images/investor/profile/'.$newFileName,
            ]);
            HistoryController::createHistory('fund_investment', Auth::user()->investor_id); 

            return response()->json('success');
        } else {
            return response()->json('error');
        }
    }

Ionic CLI Version: PRO 4.2.1
Cordova Verion: 8.0.0
NPM Version: 6.4.1
Node.js version: 8.11.3
Platform: Android


The weird thing is that the same code with a different API URL works on another function. I really don’t know what is the problem. I hope someone can help me with this. Thank you in advance :blush:

Posts: 1

Participants: 1

Read full topic

Viewing all 70440 articles
Browse latest View live


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