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

Download json file from firebase using ionic


Split Pane Toggle on Big screen

$
0
0

Yes that’s what I am also trying to implement … but it’s quite buggy …

Ionic DevApp Feedback Mega-thread

$
0
0

Is the geofence plugin on the roadmap for inclusion in DevApp?

Split Pane Toggle on Big screen

$
0
0

I might be misunderstanding you, so to clarify this for me: do you want the user to be able to toggle the menu on a big screen like in the .gif you posted?

Split Pane Toggle on Big screen

$
0
0

Yes, exactly … the user should be able to toggle the menu on a big screen like in the .gif I posted.

I have problem when I run "ionic cordova build android">>>>>

Ionic view returns getway timeout

$
0
0

Hi,

I’am trying to view application on my phone with IonicView, but i get error: Getway Timeout?

Ionic DeepLinker / Angular HTML5Mode / URLs without #

$
0
0

This thread has kinda gone stale but did anyone manage to work out the refresh issue? Does the htaccess config work?


Error executing project build

$
0
0

Good afternoon everyone
I am trying to build an application, but when running it appears the following error:
Unable to load PlatformApi from platform. Error: Can not find module’C: \ Users \ Claudio Junior \ like \ platforms \ android \ cordova \ Api.js’

Error: Uncaught, unspecified “error” event. The platform “android” does not apper to be a valid cordova platform. It is missing API.js. android not supported.
Anyone know how I can solve this?
Thank you

Onesignal plugin push notification when app is closed

$
0
0

Hi guys… I want to open the app and navigate to a specific page, but handleNotificationOpened() function does not seem to work when app is closed. The push notification comes and when i tap on this, app opens. All day I am trying to find out a solution. Do you have any idea??

Store newsfeed from api to localstorage

$
0
0

Hi,

I have an application that show news by using an api to get data, what i want to do is access to those data without having internet access…
Any example ?

Dont work HTTP module

$
0
0

Is’t not correct.
We get a new error.

Typescript Error
Module ‘“c:/Android/PulseNew/node_modules/@ionic-native/http/index”’ has no exported member ‘Http’.

Questions about Copyright

$
0
0

I want to use Ionicons in a proprietary (closed-source) application. I understand that I am free to do so under the MIT license. I’m trying to determine how to include that copyright statement and license text in a way that makes it clear that only the icons are made available by the MIT license and the rest of the software is closed source. How do I do this properly?

Ionic DomSanitizer gives Uncaught TypeError: Cannot read property 'offsetHeight' of null

$
0
0

As many other people I’m trying to retrieve an HTML page from a server to display it on a IONIC app.

Here’s the template/html:

<ion-content padding [innerHtml]="HTMLcontent">
</ion-content>

And here’s the module:

import { Component } from '@angular/core';
import { IonicPage, NavController, NavParams } from 'ionic-angular';
import { Http } from '@angular/http';
import { DomSanitizer } from "@angular/platform-browser";

export class RandomPage {
  HTMLcontent;
  constructor(public navCtrl: NavController, public navParams: NavParams, private http:Http, private sanitizer: DomSanitizer) {}
  ionViewDidLoad() {
    this.http.get("SAFE_URL_HERE").subscribe(html=>{
      this.HTMLcontent = this.sanitizer.bypassSecurityTrustHtml(html['_body']);
    });
  }
}

Now, the problem is that whenever I try to access this page I get this error:

Uncaught TypeError: Cannot read property 'offsetHeight' of null
    at Content.getContentDimensions (content.js:529)
    at Content._readDimensions (content.js:693)
    at content.js:220
    at SafeSubscriber.schedulerFn [as _next] (core.js:4235)
    at SafeSubscriber.__tryOrUnsub (Subscriber.js:238)
    at SafeSubscriber.next (Subscriber.js:185)
    at Subscriber._next (Subscriber.js:125)
    at Subscriber.next (Subscriber.js:89)
    at EventEmitter.Subject.next (Subject.js:55)
    at EventEmitter.emit (core.js:4203)

The only workaround I found for now is to have a template like this:

<ion-content padding>{{HTMLcontent}}</ion-content>

But it will output text instead of HTML, so it’s not OK

Dont work HTTP module

$
0
0

I am sorry. Http is for the angular import: import { Http } from '@angular/http'; so that’s my fault.

But now I see you are using the ‘@ionic-native/http’ you should have your constructor use private http : HTTP instead of public http : Http

Edit: As you can see in the docs: https://ionicframework.com/docs/native/http/


Ionic Google Maps is not working getting error - GoogleMaps [deprecated] Please use GoogleMaps.create()

$
0
0

You are probably trying to run the map on browser. The map plugin runs on Android and iOS only

Ionic Google Maps is not working getting error - GoogleMaps [deprecated] Please use GoogleMaps.create()

$
0
0

Yes I tried that all this time. No luck. Now I added JavaScript API with the tags in the index.html. This works in the browser but not in the Device. Can you help please? It is because of the API Credentials?

How to compile Ionic App for platform ios from command line

$
0
0

Hi everybody !

I have been using Ionic 2/3 for a quite a while now on Windows for compiling my apps on platform android, and I’m now making my first steps on the platform ios using a Mac, and I’m having trouble finding the correct process to compile and sign the app.

I’m trying to figure out the correct command line parameters that should be used to compile a Ionic app in both DEBUG and RELEASE mode for platform ios ?

For example for platform Android I use the following command to generate a DEBUG apk:

ionic cordova build android --debug --aot

…and to generate a RELEASE apk I use the following :

ionic cordova build android --release --prod --aot
jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore myapp.keystore -storepass <store-key> android-release-unsigned.apk <key-name>
zipalign -v 4 android-release-unsigned.apk android-release-signed.apk

What would be the equivalent command line for platform ios for DEBUG and RELEASE ipa ?

Thanks

Arnaud

I have problem when I run "ionic cordova build android">>>>>

$
0
0

That’s weird. Could you try to see if it has an update using the --update flag?

Newbie: "ionic start" already failing with 404 (node-sass not found)

$
0
0

Trying to get my first Ionic app to run following the tutorial. Installed ionic and cordova, but it crashes already when trying to set up an application template using ionic start myApp tabs

Downloading the starter seems to work fine, but the subsequent npm i fails after a while:

[ERROR] An error occurred while running npm i (exit code 1):

        > node-sass@4.5.3 install D:\Repositories\Commercial\ridr.taxi\TestApp\node_modules\node-sass
        > node scripts/install.js

        Downloading binary from https://github.com/sass/node-sass/releases/download/v4.5.3/win32-x64-59_binding.node
        Cannot download "https://github.com/sass/node-sass/releases/download/v4.5.3/win32-x64-59_binding.node":

        HTTP error 404 Not Found
Viewing all 230057 articles
Browse latest View live


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