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

Upgrade Ionic 4 beta project to 4 release

$
0
0

@shadster wrote:

I have a project that I’ve been working on for a few months. It was created with ionic 4 beta. How do I upgrade the project to 4 (release).

And any differences between beta and release version?

Thank you

Posts: 1

Participants: 1

Read full topic


How to print object

$
0
0

@flycoders_sourav1 wrote:

I want to print a specific object in my ts file

below my response Object { message: “Mail Sent Successfully”, code: “200” }

I want to print code i tired to print like this data.code but showing an error
Please help me
Thanks

Posts: 1

Participants: 1

Read full topic

@ng-idle/keepalive

Ionic 4 Access-Control-Allow-Origin error

$
0
0

@arnhrwd wrote:

I’m using Mazemap from www.mazemap.com and getting the Access-Control-Allow-Origin error on both the browser and mobile devices.

The Mazemap interface does not provide an option for me to set the headers of the http request that it makes.

Is there a way in Ionic 4 to set the default headers of all http requests globally, or else how do I avoid this CORS error?

Posts: 1

Participants: 1

Read full topic

Confusing Doc for know which version of doc I read Currently

$
0
0

@ravi14797 wrote:

Hello Ionic,

Ionic is a fantastic framework for mobile development. I just need one fever from the ionic side.
Please show the dropdown or select for version. Here this small thing create a huge confusion about which version of doc I am reading currently

I talk about this site:

You can also see any framework website mostly I use one is Laravel for reference
Laravel : https://laravel.com/docs/5.7/installation

Thanks
Bhandari Ravindra

Posts: 1

Participants: 1

Read full topic

Header like ios12 style

Ionic 4 + Net core

$
0
0

@dnietoandres wrote:

Hello everyone,

I have a project that needs to be done in Visual Studio 2017 with capacitor(not Cordova). I am having some problems with the routing.

When I firstly launch the project the routing works fine but if I reload the HomePage it throws a 404 Error. It is a blank project so at this moment it only has the HomePage.

So I hope anyone can help me.

Greetings.

Posts: 1

Participants: 1

Read full topic

Prevent closing menu on click

$
0
0

@ewankobkt wrote:

Hello. Is there a way for the menu to remain open or manually close/open after clicking to an item? I referred here but it’s not working on ionic 4.

app.component.html

        <ion-item (click)="product()">
          <ion-icon slot="start" [name]="'restaurant'"></ion-icon>
          <ion-label>Products</ion-label>
          <ion-icon slot="end" *ngIf="product_icon == 1" [name]="'remove'" class="col"></ion-icon>
          <ion-icon slot="end" *ngIf="product_icon == 0" [name]="'add'" class="col"></ion-icon>
        </ion-item>

app.component.ts

product() {
this.menu.open(‘main-menu’);

if (this.product_icon == 0) {
  this.product_icon = 1;
} else {
  this.product_icon = 0;
}

}

Posts: 1

Participants: 1

Read full topic


Ionic MySQL and Firebase

$
0
0

@Awesomekllr wrote:

HI there, i would like to ask is it possible to link Mysql with firebase
E.g. i use firebase for authentication then i wan to link my data in mysql database with the specific user in firebase

Posts: 1

Participants: 1

Read full topic

How to print QR code in ios

$
0
0

@phongbn96 wrote:

I have a project need print QR code in ios.i dont know how do it
Please help me !!!
sorry for bad english

Posts: 1

Participants: 1

Read full topic

HELP - IONIC 4 - ANGULAR 7 (.apk simple demo)

$
0
0

@devCODITRON wrote:

Hi::

HELP - IONIC 4 - ANGULAR 7 (.apk simple demo)

  • ionic start myApp tabs --type=angular
  • cd myApp
    (config.xml :: )
  • ionic cordova platform add android
  • ionic cordova build android

  • I install the apk
  • When you open the app only the splash appears a few seconds later it goes blank.
    The same with the app I was doing.
    IS SOMETHING MISSING OR THAT WITH IONIC VERSION 4?

Posts: 2

Participants: 2

Read full topic

How to have real time data update from an API aside from interval request

$
0
0

@test-nikko wrote:

I am fetching a data from an API, and I want to have a live update of display of data in my app when something changes in the data from the API. All I done is to have an interval that makes a request in the API every minute, and I think its not the best solution for this. Because it consumes a lot of power for the phone. So is there an alternative for this? The API that I am using is something external from us so we cannot change it to adjust for some solutions.

Posts: 2

Participants: 2

Read full topic

How to get a specific data for my ngmodel on an array

$
0
0

@kringdyo wrote:

  <ion-item>
          <ion-label color="primary">Monitor Price</ion-label>
      </ion-item>
    <ion-item>
      <ion-label>Choose Market </ion-label>
      <ion-select [(ngModel)]="market_id">
        <ion-option *ngFor= "let d of dataArraymarket">{{d.market_id}} {{d.market_name}}</ion-option>
         
      </ion-select>
    </ion-item>

I want to have the market_id only because its what i only need for my database but I want to show them both . Thank you in advance for the help

Posts: 1

Participants: 1

Read full topic

Problem in API request Cordova Platforms : android 7.1.4

$
0
0

@ahmadklsany wrote:

hello every one
i have problem with ionic 3 when i am sending post url (for send sms massage to mobile phone) :
link : https://smsmisr.com/api/webapi/?username='+data.username+'&password='+data.password+'&language='+data.language+'&sender='+data.sender+'&mobile='+data.mobile+'&message='+data.message+'&DelayUntil='+data.DelayUntil;

    import { Http } from '@angular/http';
   ....... 
    return this.http.post(link,  {.map(res=>res.json())) ;

in Cordova Platforms : android 7.1.4 >>>>> Api Not send and not get response and no massage received ;
in Cordova Platforms : android 6.3.0 >>> work fine

any help ? :slight_smile:

Posts: 1

Participants: 1

Read full topic

Want to open SharePoint online pages in ionic angular in-app browser, ionic 2

$
0
0

@mukesh50 wrote:

I need to open office 365 modern pages in ionic angular based mobile app (in app browser) . these pages may have ui components built in react.
I know i can just check it by doing. but still i would like to listen from you experts that whether it is a good idea to load a page (which may have react components on it) in ionic angular based app. Can it create any problem in future ? Thank you in Advance

Posts: 1

Participants: 1

Read full topic


Ionic Specific platform not working

$
0
0

@Fayme wrote:

.ios{
    page-training{
        .overview-items {
            margin-top: -40px !important;
        }
    }
}

.md {
    page-training{
        .overview-items {
            margin-top: 45px !important;
        }
    }
}

in my css i have code for different platform but my android device is always executing ios!

Posts: 1

Participants: 1

Read full topic

Rtl support?

$
0
0

@CreativeArtDesign wrote:

I wounder about Ionic V4 in the manual i can not see how to use RTL in my CSS…

in version v3 it works like this, but in version how will it work Ionic v4?
I can not find it in the new documentation.

.my-label{
    @include ltr() { // ENGLISH
      font-family: active-font;

    }
    @include rtl() { // ARABIC
      font-family: arabiclabel-font;
    }
}

I wonder how it works in IONIC Version 4…

Posts: 1

Participants: 1

Read full topic

Storage differents data

$
0
0

@lucasdragos wrote:

it is recommended to store different data in the same storage? for example: Products and User.
And in the queries use filter to differentiate them

Posts: 1

Participants: 1

Read full topic

Ionic V4 Playing local video doesn't work any more

$
0
0

@geochr wrote:

I used the following code to load and play locally downloaded videos when Ionic V4 beta came out.

It stopped working with the latest final release.

No JS or native errors appear.

Any ideas?

const byteArray = await this.file.readAsArrayBuffer(basePath, fileName);
const blob = new Blob([new Uint8Array(byteArray)], { type: 'video/mp4' });
const url = URL.createObjectURL(blob);
this.videoPlayer.nativeElement.src = url;

Posts: 1

Participants: 1

Read full topic

Ionic-4 - Scrollable/Searchable/Filtering Grid/Table/List

$
0
0

@vvanherk wrote:

Hello.
As title suggests, I’m looking for a Grid/Table/List type component where just the elements in the control scrolls - not all of . Search, sorting, and filtering capabilities will need to be added as well. This control would be in middle of page - with non-scrolling information above and below.

Ionic 4 no longer supports . I also posted message 10 days ago regarding scrolling list. Suggestion of multiple on page and using CSS does not really cut it…

Would have thought there would be existing controls to support this - rolling all from scratch seems like re-inventing wheel… If it needs to be purchased - that is valid option.

Any input appreciated.
Cheers.

Posts: 1

Participants: 1

Read full topic

Viewing all 48980 articles
Browse latest View live


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