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

Ionic Video Streaming

$
0
0

Hey tumain,
I want to know which plugin you used for live streaming . Can you please suggest me??


Ion-input ClearInput not clearing the value in android device

$
0
0

Here I use the latest ionic version. when I clear the input field it’s clearing the typed value.but when I type again new text append to the previous value.

How to build a live video streaming app

Anyone actually using AppFlow?

$
0
0

Is there anyone actually using AppFlow to build (and release) apps? I mean, I just became aware that when selecting the “build type = release”, this DOES NOT apply the “–prod” or “–release” options to your build.

To use AppFlow for an actual release build, you have to add the options to the package.json scripts. eg.

  "scripts": {
    "build": "ionic-app-scripts build --prod --release",

Now I’ve scoured the internet (ionic build (v3/4), ionic cordova build, @ionic/app-scripts, ng build, etc.) and nowhere is there any mention of this.

The only documentation I’ve found related to this is:
" npm run build will run if a build script is detected in the scripts section of your package.json in order to build the web assets for your application." found here

If AppFlow isn’t intended to cater for release builds what is the point of using it :roll_eyes:

Je n'arrive pas a afficher mes données sur ma page mais dans la console sa marche deja

$
0
0

salut, si quelqu’un peut m’aider!!
sa c’est mon service

import { Injectable } from ‘@angular/core’;
import ‘rxjs/add/operator/map’;
import { Http } from ‘@angular/http’;
import ‘rxjs/add/operator/map’;
import ‘rxjs/add/operator/catch’;
import { newGlobal } from ‘…/…/Models/newGlobal-Model’;
import { Observable } from ‘rxjs/Observable’;

@Injectable()
export class ProduitProvider {
private BASE_URL: string = “http://localhost:8000/api/produits”;
private source: string = “produits”;

constructor(public http: Http) {

}
getProduct(): Promise {
const url = ${this.BASE_URL};
return this.http.get(url)

  .toPromise()
  .then(resp => resp.json() as newGlobal)
  .catch(error => console.log('une erreur' + error))

}
}

ensuite sa c’est mon model

export class newGlobal {

id: number

titre: string;

description:string;

prix: number;

qte: number;

image: string;

created_at: string;

updated_at:string;

id_categorie: string;

}

voila mon homme.ts

import { Component } from ‘@angular/core’;
import { NavController} from ‘ionic-angular’;
import { ProduitProvider} from ‘…/…/providers/produit/produit’
import {newGlobal } from ‘…/…/Models/newGlobal-Model’;

@Component({
selector: ‘page-home’,
templateUrl: ‘home.html’
})
export class HomePage {
article:newGlobal= new newGlobal();
constructor( public navCtrl: NavController, private produit : ProduitProvider) {
this.produit.getProduct()
.then(newsFetched =>{
this.article = newsFetched
console.log(this.article)
});

}

}

enfin voila mon page html



{{item.title}}

du coup le résultats viens seulement en console mais pas dans la page, alors j’ai essayer, mais je suis bloquer pour si dans le console , le résultat sort déjà mais dans ma page sa ne sort pas!!!

alors je ne sait ou sa trouve l’erreur car sa semble deja ne pas avoir une erreur, mais je veux afficher sur ma page les données de mon api

How to build live video streaming app

[SOLVED] Ionic and videogular 2 scss

$
0
0

hi, how to play video which is stored in internal storage, and play in videogular2 player in ionic3.
I am bit frustrated to finding solution for this.
can you please tell, how to play this video which is downloaded internal storage for android and ios.

J n'arrive pas a afficher sur la page

$
0
0

salut, si quelqu’un peut m’aider!!
sa c’est mon service

import { Injectable } from ‘@angular/core’;
import ‘rxjs/add/operator/map’;
import { Http } from ‘@angular/http’;
import ‘rxjs/add/operator/map’;
import ‘rxjs/add/operator/catch’;
import { newGlobal } from ‘…/…/Models/newGlobal-Model’;
import { Observable } from ‘rxjs/Observable’;

@Injectable()
export class ProduitProvider {
private BASE_URL: string = “http://localhost:8000/api/produits”;
private source: string = “produits”;

constructor(public http: Http) {

}
getProduct(): Promise {
const url = ${this.BASE_URL};
return this.http.get(url)

  .toPromise()
  .then(resp => resp.json() as newGlobal)
  .catch(error => console.log('une erreur' + error))

}
}

ensuite sa c’est mon model

export class newGlobal {

id: number

titre: string;

description:string;

prix: number;

qte: number;

image: string;

created_at: string;

updated_at:string;

id_categorie: string;

}

voila mon homme.ts

import { Component } from ‘@angular/core’;
import { NavController} from ‘ionic-angular’;
import { ProduitProvider} from ‘…/…/providers/produit/produit’
import {newGlobal } from ‘…/…/Models/newGlobal-Model’;

@Component({
selector: ‘page-home’,
templateUrl: ‘home.html’
})
export class HomePage {
article:newGlobal= new newGlobal();
constructor( public navCtrl: NavController, private produit : ProduitProvider) {
this.produit.getProduct()
.then(newsFetched =>{
this.article = newsFetched
console.log(this.article)
});

}

}

enfin voila mon page html




** <div ngFor=“let item of articles”> **
**

*
** {{item.title}}**

** **

** **

du coup le résultats viens seulement en console mais pas dans la page, alors j’ai essayer, mais je suis bloquer pour si dans le console , le résultat sort déjà mais dans ma page sa ne sort pas!!!

alors je ne sait ou sa trouve l’erreur car sa semble deja ne pas avoir une erreur, mais je veux afficher sur ma page les données de mon api


Ion-header partially visible on Android

$
0
0

@zubinraja unfortunately still the same , top header is partially hidden behind the top bar of the Android OS.

How to perform multiple click event in ionic

$
0
0

You can call a function in your button, let’s call it functionA () that, when it gets called 5 times, you call functionB ()

Ng-package Ionic App

$
0
0

I am trying to ng-package ionic module and use that module in another ionic app. is there any guidance or tutorial for this?

Big problem with ionic 1 push notification deep linking - need to log in each time after click the push

Big problem with ionic 1 push notification deep linking - need to log in each time after click the push

$
0
0

It will required a lot of work…
There is any automatic tool that can convert it?

Big problem with ionic 1 push notification deep linking - need to log in each time after click the push

$
0
0

What’s gonna require time is to get your questions answered with Ionic v1.

Trust me, it’s worth the time.

Wowza live streaming

$
0
0

Hey , i want to implement live streaming for ionic application. For that i was using wowza rest api to create stream and start and stop stream but not able to open my device’s camera.I am not getting any solution that how can i record my stream and open camera . I also used rtmp-npm for ionic framework but that only have recording property for android only for short time and for ios plugin is not working.

https://sandbox.cloud.wowza.com/api/beta/docs#tag/live_streams


Ionic Pro Deploy - Show user "What's new in this version" after auto update

$
0
0

Hey!

I’m using the Deploy API with Ionic 3, and found these docs super helpful, so thanks for that!

I’ve setup the deploy API to check for and auto download the latest version of my app, and I’m using 2 channels: ‘development’ and ‘production’. It’s working nicely! The question is…

I’d like to show the user a message, after each new version has been installed, telling them "what’s new in this version’. This seems like good UX, as we’re skipping app store updates. So example flow… The user is on the production channel, opens the app, gets the auto update in the splash screen (might change this to use the background method later!), enters the app on the default page, sees something (modal? alert? etc.) telling them about the sweet new features they’ve now got available.

Keen to hear ideas for the cleanest/most efficient way to implement this?

Thanks in advance :slight_smile:

How to create custom Ionic Starter template

$
0
0

Can anyone guide me how to create a custom template which will act as ionic template for starting the project base.

wowza Issue

$
0
0

Try turning on packet loss logging to verify if this is the problem. Localhost or your local network to rule out network problems as the issue.

Push Native for any providers

$
0
0

Any idea? There is very little official documentation by ionic

Refresh the page when image source changed

$
0
0

Thanks for the response.
I have tried it but it does not work.
I mean , from my understanding , ion-img> does not support Onerror function.
when I use ion-img>, it just shows the main URL , not the one I wrote in onerror!!
Do you have any sample how should I use alternative image in ion-img>?

Viewing all 228565 articles
Browse latest View live


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