October 26, 2017, 2:17 am
@chris2324 wrote:
I use the BLE native plugin.
This plugin run perfectly when I test the application on the device using "ionic cordova run ios"
I list all the BLE device, connect, read, write, …
But If I test the application in Ionic View, the BLE plugin don’t list any BLE device ?
I try to use the Bluetooth Serial , and this one run perfectly in ionic view and in device directly.
Why ionic view with BLE native plugin have this behavior ?
Posts: 2
Participants: 2
Read full topic
↧
October 26, 2017, 2:23 am
@viveknookala wrote:
Hi Everyone,
I am using cordova-plugin-media-capture in ionic 3 framework for capturing 3 sec video. I used the following code:-
MediaCapture.captureVideo({ limit: 1, duration: 3}).then(
(data: MediaFile[]) => this.mediasuccess(data),
(err: CaptureError) => alert(“Action cancelled”)
);
In ios while recording video as the 3 sec duration is completed I am getting an alert as shown in below screenshot
Please tell me if there is any way to remove that alert.
Posts: 1
Participants: 1
Read full topic
↧
↧
October 26, 2017, 2:31 am
@Dar3lis wrote:
Hey Guys.
I am trying to implement search feature. Looks something like this.
This is my parent component:
![12]()
Once you click to Advanced it goes to modalController where you can select different filters:
![50]()
I want to filter my search result by those filter by passing object called data.
So. I have an object in my parent component Search.ts
Facebook property should be either 1 or 0 and so on.
data = {
search: '',
facebook: ''
};
And I want to update facebook property from childComponent once Facebook Allowed is toggled.
I am not sure what is the best way to do it?
Any ideas would be highly appreciated!
Posts: 1
Participants: 1
Read full topic
↧
October 26, 2017, 2:46 am
@Hanzo wrote:
Hi, I’ve updated my device to ios 11 and this is the result
The content of the navbar overlaps the statusbar.
<ion-header>
<ion-navbar>
<button ion-button menuToggle>
<img src="assets/icon/menu.svg">
</button>
<ion-title>Hello Ionic</ion-title>
</ion-navbar>
</ion-header>
My versions:
ionic 3.7.1
cordova-plugin-statusbar 2.2.3
What would be the problem?
Posts: 1
Participants: 1
Read full topic
↧
October 26, 2017, 2:49 am
@priyasamyal wrote:
Hello Can you please tell me , is there any way to insert gif image from keyboard to my ionic 2 app.
Waiting for replies
Posts: 1
Participants: 1
Read full topic
↧
↧
October 26, 2017, 3:05 am
@bhariprasad82 wrote:
Request header field Upgrade-Insecure-Requests is not allowed by Access-Control-Allow-Headers in preflight response.
Posts: 1
Participants: 1
Read full topic
↧
October 26, 2017, 3:08 am
@GameAppsBD wrote:
Hi, MY name is MD.Riyaz Uddin, I’am new from Ionic Framework.
My question is 'how to check physical SD Card is present or not? it is Possible? using Ionic Native Plugin?
any suggestion?
thanks.
Posts: 1
Participants: 1
Read full topic
↧
October 26, 2017, 3:21 am
@tsn731 wrote:
Hi,
Currently the ionic build command appears to be an all or nothing task that includes several sub-tasks like clean, copy, transpile, webpack etc. The build process in ionic-serve is slightly different where the transpile and webpack are incremental, significantly reducing the build time.
My question is- is there a way to simulate ionic serve’s build behavior using ionic cli?
something like
ionic transpile
ionic webpack
Posts: 2
Participants: 2
Read full topic
↧
October 26, 2017, 3:30 am
@Blaydator wrote:
Hi everyone !
I’am thinking about switching to live deploys but I still have some questions :
-
What happens if we had to push an update trough the standard app store way (eg. to update a plugin) ?
-
If the update pushed through the store is subscribed to the same “production” channels as before, will it download an older build previously pushed to the ionic repo ?
-
Does creating a new channel for each version that we updated trough the app store is a good idea ? Or does the ionic pro plugin will not download an older build for a given channel ?
-
What happens later if we want to push a new update through live deploy but only to the apps that have made the updates trough the store first ?
Thanks for clarifying this a bit ![:slight_smile: :slight_smile:]()
Posts: 2
Participants: 2
Read full topic
↧
↧
October 26, 2017, 4:22 am
@9971343358 wrote:
TypeError: Cannot read property ‘hasData’ of undefined
My code is :
if(this.cartService.hasData()){ ---- }
and the cartService code is :
hasData(){
return this.data.items.length>0;
}
Getting this error on console :
ERROR TypeError: Cannot read property ‘hasData’ of undefined
at RestaurantListPage.webpackJsonp.305.RestaurantListPage.selectRestaurant (restaurant-list.ts:102).
Please help me, Thanks
Posts: 1
Participants: 1
Read full topic
↧
October 26, 2017, 4:32 am
@Stanislav wrote:
Hello! Anyone using Ionic 3 and Appodeal with IonicNative? I can’t enable Appodeal in my project with IonicNative. After install Appodeal and import all what needs in code i receive next warn:
14:22:46.568 vendor.js:53691 Install the Appodeal plugin: 'ionic cordova plugin add https://github.com/appodeal/appodeal-cordova-plugin.git’
14:22:46.569 vendor.js:53685 Native: tried calling Appodeal.enableRewardedVideoCallbacks, but the Appodeal plugin is not installed
last year in my previous project I use Appodeal without any problem.
I opened issue with some information: https://github.com/ionic-team/ionic-native/issues/2065
Posts: 1
Participants: 1
Read full topic
↧
October 26, 2017, 4:43 am
@Prakashreddy wrote:
Unable to print both ion-list and ion-item.
Either of the one is possible but not both.
I want the email id to be after the country
home.html
<ion-header>
<ion-navbar>
<ion-title>
Ionic Blank
</ion-title>
</ion-navbar>
</ion-header>
<ion-content padding>
<ion-list *ngFor="let countries of country">
<p>{{countries.id}}</p>
<h4>{{countries['country_name']}}</h4>
</ion-list>
<ion-item *ngFor="let user of random">
<h4 >{{user.email}}</h4></ion-item>
</ion-content>
home.ts
import { Component } from '@angular/core';
import { NavController } from 'ionic-angular';
import { Http } from '@angular/http';
import 'rxjs/add/operator/map';
@Component({
selector: 'page-home',
templateUrl: 'home.html'
})
export class HomePage {
private apiurl = 'http://34.215.46.34/api.php?q=';
private baseurl = 'https://randomuser.me/api/?results=250';
country:any[]=[];
data: Object[] = [];
random:any;
randomdata1:any;
constructor(public navCtrl: NavController, private http: Http) {
console.log("Countries api");
console.log("Random api");
this.getcountry();
this.getdata();
this.getrandom();
this.getrandomdata();
}
getrandomdata(){
return this.http.get(this.baseurl)
.map(res => res.json())
}
getrandom(){
this.getrandomdata().subscribe(randomdata1 =>{
console.log(randomdata1);
this.random=randomdata1['results']
})
}
getdata(){
return this.http.get(this.apiurl)
.map(res => res.json())
}
getcountry(){
this.getdata().subscribe(res =>{
console.log(res);
this.country=res.result;
})
}
}
Posts: 1
Participants: 1
Read full topic
↧
October 26, 2017, 5:18 am
@alexdobras wrote:
Hi, y’all. Could you please tell me how can I reference a html file as a content for my description instead of a string (as seen in attached picture)?
I want to have:
- items[0].description to have content from angular.html
- items[1].description to have content from css.html
Posts: 1
Participants: 1
Read full topic
↧
↧
October 26, 2017, 5:22 am
@Vartex05 wrote:
I have question about how many time usually takes running run command? It takes about 2 min on my computer, even on a practically blank app. Any ideas what could cause this?
Posts: 1
Participants: 1
Read full topic
↧
October 26, 2017, 6:02 am
@akhilsanker94 wrote:
Hi community,
I just deleted node directory and then added it with, npm install.
After that ionic serve giving the following error:
Error: Cannot find module 'reflect-metadata’
at Function.Module._resolveFilename (module.js:469:15)
at Function.Module._load (module.js:417:25)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object. (F:\ionic\Gemeinde\Kilchberg\node_modules@ionic\app-scripts\dist\aot\aot-compiler.js:5:1)
at Module._compile (module.js:570:32)
at Object.Module._extensions…js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
Can,t able to build either.Anyone have any idea about this.
Any suggestion is appreciable.
Thanks,
Posts: 4
Participants: 2
Read full topic
↧
October 26, 2017, 6:33 am
↧
October 26, 2017, 6:43 am
@YousefRabieKhalil wrote:
i want to push page to nav stack in ionic 2 after the notification opened i tried to make this initilization finction for oneSignal using OneSignalPluin
InitOneSignal() {
this.oneSignal.startInit(this.apiprovider.OneSignalAppid, this.apiprovider.GogoleSenderId);
this.oneSignal.inFocusDisplaying(this.oneSignal.OSInFocusDisplayOption.Notification);
this.oneSignal.handleNotificationReceived().subscribe(() => {
// do something when notification is received
});
this.oneSignal.handleNotificationOpened().subscribe((data) => {
// do something when a notification is opened
this.helpermethod.showAlertWithOkButton('اهلا بك' , 'نرحب بعودتك للتطبيق').then(___ => {
this.navCtrl.push(BookingInfoPage, { trip: data.notification.data.NotificationData }).then(_ =>{
}).catch(err => {
this.helpermethod.showAlertWithOkButton('اهلا بك' , err)
});
});
});
this.oneSignal.endInit();
// End oneSignal Init
this.oneSignal.sendTags({ "UserType": "user" });
}
but when the notification opened the alert appeared but the page dose not pushed
any solution for this ?
Posts: 1
Participants: 1
Read full topic
↧
↧
October 26, 2017, 6:48 am
@tanvralam wrote:
Hello
I’m new to ionic framework and have been trying to create my first hybrid application. By following some tutorials online, somehow, i managed to create my first application. Now, I’m trying to create apk for android devices but when i run ionic cordova run android --prod --release, it gives me error as requirements check failed for jdk 1.8 or greater. Please note that I’ve installed jdk 9.0 ( which is latest, i guess.).
Editor is vscode and machine is mac.
Looking forward to hearing some useful solutions.
Regards
Tanveer Alam
Posts: 1
Participants: 1
Read full topic
↧
October 26, 2017, 7:05 am
@crivasmodyo wrote:
Hi
I managed to integrate AngularJS Material in my Ionic 1 App. I came along to fix some weird behaviours of buttons with click hijacking and everything was ok. The problem now is the app is not focusing correctly on Inputs (iOS), as seen in this image:
In Android, the scroll is done when I start typing. This does not happend in iOS.
I’ve tried changing some propertys on the ion-content tag, but nothing worked.
Thanks for your help.
Posts: 1
Participants: 1
Read full topic
↧
October 26, 2017, 7:50 am
@hertanet wrote:
hi ionic folks ;
I use ionic 3 I have some issue with scroll infinite using JSON REST Service im already googling about this topic and almost articles they talking about json rest they have pages, what about simple JSON API?
here the article:
he’s using reqres for testing :
https://reqres.in/
I have a simple JSON API like this :
[
{
id: 301,
ref: 169,
img: "image1.jpg",
title: "lorem epsum",
country: "usa"
},
{
id: 302,
ref: 168,
img: "image2.jpg",
title: "lorem ipsum",
country: "germany",
},
hwo can i use infinte scroll ?
i hope someone give me thesolution?
Posts: 1
Participants: 1
Read full topic
↧