When [footer]="pull up" remove, Can’t drag pullup below link
@ionic-native/globalization example
@virmundi wrote:
Does anyone have an example on how to use this? I can’t figure out how to set it up. I can’t figure out how to make a map for the languages. Nothing. Is this even the right tool?
Posts: 1
Participants: 1
IONIC PRO: Can't build package
@giahuy10 wrote:
I’m using IONIC for testing. After pushing code to master, I see error in my build
Running with gitlab-ci-multi-runner 9.1.0 (0118d89) on Prod Snapshot Builds 1 (c9648220) Using Shell executor... Running on ip-10-2-57-120... Cloning repository... Cloning into '/home/gitlab-runner/builds/c9648220/1/project-1'... Checking out 610359a6 as master... Skipping Git submodules setup $ fetch-updates Checking for build process updates... $ build-app Fetching build dependencies... Running: npm install npm WARN deprecated object-keys@0.2.0: Please update to the latest object-keys npm ERR! code E404 npm ERR! 404 Not Found: mx.ferreyra.callnumber@~0.0.2 npm ERR! A complete log of this run can be found in: npm ERR! /home/gitlab-runner/.npm/_logs/2017-10-20T03_18_59_349Z-debug.log npm install failed Running after script... $ clean-up Cleaning up files... Successful clean up ERROR: Job failed: exit status 1I tried to push new code 4-5 times but no luck.
My app still run when I build on ubuntu (ionic cordova build android --prod --release).
Posts: 1
Participants: 1
Custom pipe returns no results
@Smirnova wrote:
Hi there,
I have an array of orders, that look like that:
[ { "orderNumber": 1, "products": [ { "id": 0}, { "id": 5} ] }, { "orderNumber": 2, "products": [ { "id": 5}, { "id": 6} ] } ]And then I’m trying to show only those orders, that contain the particular product id:
<div *ngFor="let order of orders | orderContainsSelectedProduct:product.id"> <p>{{ order.orderNumber}}</p> </di>orderContainsSelectedProduct:product pipe looks like that:
export class OrderContainsSelectedProductPipe implements PipeTransform { transform(values: any, id: number): any { if(values) { return values.filter(value => value.products.id === id); }else{ console.log('no orders containing selected product'); } } }And it returns nothing at all, so no orders are showing even if I replace the “orderContainsSelectedProduct:product.id” with “orderContainsSelectedProduct:5”
Please, let me know what I’m doingwrong here.
Regards,
Olga
Posts: 2
Participants: 2
How to show notification up on the notification tray while app is in foreground on iOS using Ionic native FCM?
@j00t33 wrote:
Hi,
Do anyone know how to show notification up on the notification tray while app is in foreground on iOS using Ionic native FCM? Notification shows while the app is in background but not when it is in foreground even though I receive it.
Posts: 1
Participants: 1
Build problem occur when i start ionic cordova
Unhandled Promise rejection: callback.success.apply is not a function
@NGNYDeveloper wrote:
We’ve been running into this issue for a short while and we believe it’s causing the splashScreen.hide(); in the app.component to not run when a debug APK is built for android (and in any case it’s concerning and clogging up our console)
The error as it appears in our log is as follows
Error in Success callbackId: IonicDeploy103963325 : TypeError: callback.success.apply is not a function [4:37] Unhandled Promise rejection: callback.success.apply is not a function ; Zone: <root> ; Task: Promise.then ; Value: TypeError: callback.success.apply is not a function at Object.callbackFromNative (cordova.js:293) at processMessage (cordova.js:1119) at processMessages (cordova.js:1142) at t.invoke (polyfills.js:3) at r.run (polyfills.js:3) at polyfills.js:3 at t.invokeTask (polyfills.js:3) at r.runTask (polyfills.js:3) at o (polyfills.js:3) at <anonymous> TypeError: callback.success.apply is not a function at Object.callbackFromNative (file:///android_asset/www/cordova.js:293:58) at processMessage (file:///android_asset/www/cordova.js:1119:17) at processMessages (file:///android_asset/www/cordova.js:1142:9) at t.invoke (file:///android_asset/www/build/polyfills.js:3:14356) at r.run (file:///android_asset/www/build/polyfills.js:3:9523) at file:///android_asset/www/build/polyfills.js:3:19622 at t.invokeTask (file:///android_asset/www/build/polyfills.js:3:15040) at r.runTask (file:///android_asset/www/build/polyfills.js:3:10214) at o (file:///android_asset/www/build/polyfills.js:3:7274) at <anonymous>Our ionic info is as follows
cli packages: (/Users/JD/WebstormProjects/skatespot-showcase/node_modules)
@ionic/cli-utils : 1.9.2 ionic (Ionic CLI) : 3.9.2global packages:
Cordova CLI : 6.5.0local packages:
@ionic/app-scripts : 2.1.4 Cordova Platforms : android 6.1.2 browser 4.1.0 ios 4.5.2 Ionic Framework : ionic-angular 3.7.1System:
Android SDK Tools : 25.2.5 Node : v6.11.0 npm : 5.4.2 OS : macOS Sierra Xcode : Xcode 8.3.2 Build version 8E2002
Posts: 1
Participants: 1
API handling
@harniel1 wrote:
Hi good day everyone, i want to ask on how to listen to when there is any movement on a API like when theres some updated within that API?
any links or advices or tutorials? is a great help.
thanksi am using this method to access that api something i need to improve or revise for me to able to listen when there is changes to this api??
Posts: 1
Participants: 1
Looking for a preinstaller for adding SDK
@zeevkazakov wrote:
i need add this features:
add sdk facebook To advertise in facebook
https://developers.facebook.com/docs/ads-for-appsadd sdk That the links will open from Facebook in the app
https://developers.facebook.com/docs/applinksAdd a Facebook Audience Network.
https://developers.facebook.com/docs/audience-networkLooking for Freelancer for this work
my app is built in ionic 3contact us on Facebook or by email
zeevkazakovm@gmail.com
Posts: 1
Participants: 1
Realtime database in ionic
@harniel1 wrote:
Hi guys i want to create a realtime database with ionic 2/3 and i dont know how to start, any recommendation or links or tutorials will do, thank you
Posts: 1
Participants: 1
Error: Failed to fetch platform cordova-android@latest
@wthijmen wrote:
Hi,
When I try to add my android platform back in to my project I get a weird error.
> cordova platform add android@latest --save ✖ Running command - failed! [ERROR] Exception: Using cordova-fetch for cordova-android@latest Error: Failed to fetch platform cordova-android@latest Probably this is either a connection problem, or platform spec is incorrect. Check your connection and platform name/version/URL. Error: npm: Command failed with exit code 1 Error output: npm ERR! Linux 4.10.0-37-generic npm ERR! argv "/usr/local/bin/node" "/home/thijmen/Desktop/abk/node_modules/.bin/npm" "install" "cordova-android@latest" "--production" "--save-exact" npm ERR! node v6.11.4 npm ERR! npm v2.15.12 npm ERR! code EPEERINVALID npm ERR! peerinvalid The package zone.js@0.8.18 does not satisfy its siblings' peerDependencies requirements! npm ERR! peerinvalid Peer @angular/core@2.4.10 wants zone.js@^0.7.2 npm ERR! Please include the following file with any support request: npm ERR! /home/thijmen/Desktop/abk/npm-debug.logIonic info
cli packages: (/home/thijmen/Desktop/abk/node_modules) @ionic/cli-utils : 1.13.1 ionic (Ionic CLI) : 3.13.2 global packages: cordova (Cordova CLI) : 7.1.0 local packages: @ionic/app-scripts : 3.0.0 Cordova Platforms : none Ionic Framework : ionic-angular 3.3.0 System: Node : v6.11.4 npm : 2.15.12 OS : Linux 4.10 Misc: backend : proI hope some one knows a fix for this.
Thanks in advance
Posts: 1
Participants: 1
JSON modifity
@redtyper253 wrote:
Hello,
Why modifity this code :
import {Component, OnInit} from '@angular/core'; import { IonicPage, NavController, NavParams } from 'ionic-angular'; import {Http} from "@angular/http"; import 'rxjs'; /** * Generated class for the TodaysPage page. * * See https://ionicframework.com/docs/components/#navigation for more info on * Ionic pages and navigation. */ @IonicPage() @Component({ selector: 'page-todays', templateUrl: 'todays.html', }) export class TodaysPage implements OnInit{ tips:any; sheetName: string = 'standard_today'; sheetID: string = '175XqnHhcOS8CVoBY08xMhaDO39VmauBEFKU9qeaHS3U'; constructor(public navCtrl: NavController, public navParams: NavParams,private http:Http) { } ionViewWillEnter() { console.log('ionViewDidLoad TodaysPage'); } ngOnInit(){ console.log('https://script.google.com/macros/s/AKfycbygukdW3tt8sCPcFDlkMnMuNu9bH5fpt7bKV50p2bM/exec?id='+this.sheetID+'&sheet='+this.sheetName); this.http.get('https://script.google.com/macros/s/AKfycbygukdW3tt8sCPcFDlkMnMuNu9bH5fpt7bKV50p2bM/exec?id='+this.sheetID+'&sheet='+this.sheetName) .map(res => res.json()).subscribe(data => { this.tips = data.standard_today; console.log(this.tips); }) } }to upload it from json via recent post?
looks like the answer after the query:
{`"standard_today": [{"DATE": "2017-10-19", "COUNTRY_LEAGUE": "Euro.L", "TIME": "18:00", "HOME_TEAM": "Zenit St.P" "AWAY_TEAM": "Rosenborg", "HOME_SCORE": "0", "AWAY_SCORE": "0", "ODD": "1.33", "TIP": "Zenit St.P: win", "Gotcha" yet "}, {" DATE ":" 2017-10-19 "," COUNTRY_LEAGUE ":" Euro.L "," TIME "," 18:00 "," HOME_TEAM "" Nice, "" vs. AWAY_TEAM ":" "", "COUNTRY_LEAGUE": "Euro.L", "TIME": "18:00", "HOME_TEAM": "Zorya", "AWAY_TEAM": "Hertha Berlin", "HOME_SCORE": "0", "AWAY_SCORE", "ODD": "1.21", "TIP": "Under 3.5", "Gotcha": "yet"}, {"DATE": "2017-10-19" "COUNTRY_LEAGUE": "Euro.L", "TIME": "18:00", "HOME_TEAM": "Ostersunds", "AWAY_TEAM": "Ath Bilbao", "HOME_SCORE": "0", "AWAY_SCORE": "0", "ODD": "1.38", "TIP": "Over 1.5", "Gotcha": "yet"}, "DATE": "2017-10-19", "COUNTRY_LEAGUE": "Euro. L "," TIME "," 18:00 "," HOME_TEAM ":" Marseille "," vs. AWAY_TEAM ":" Guimaraes "," HOME_SCORE ":" 0 "," AWAY_SCORE ":" 0 "," ODD ":" 1.37 "," TIP ":" Marseille: win "," Gotcha ":" yet "}, {" DATE ":" 2017-10-19 " "COUNTRY_LEAGUE": "Euro.L", "TIME", "18:00", "HOME_TEAM": "Konyaspor", "vs. AWAY_TEAM": "Salzburg", "HOME_SCORE": "0", "AWAY_SCORE": " 0 "," ODD ":" 1.30 "," TIP ":" Under 3.5 "," Gotcha ":" yet "}," DATE ":" 2017-10-19 "," COUNTRY_LEAGUE ":" Euro.L "," TIME "," 18:00 "," HOME_TEAM ":" Lugano "," vs. AWAY_TEAM ":" Plzen "," HOME_SCORE ":" 0 "," AWAY_SCORE ":" 0 "," ODD ":" 1.29 "TIP": "Over 1.5", "Gotcha": "yet"}, "" DATE ":" 2017-10-19 "," COUNTRY_LEAGUE ":" Euro.L "," TIME ":" 05 "," HOME_TEAM ":" Zlin "," AWAY_TEAM ":" FC Copenhagen "," HOME_SCORE ":" 0 "," AWAY_SCORE ":" 0 "," ODD " "win or draw", "gotcha": "yet"}, "DATE": "2017-10-19", "COUNTRY_LEAGUE": "Euro.L", "TIME": "20:05", "HOME_TEAM "AC Milan", "AWAY_TEAM": "AEK Athens", "HOME_SCORE": "0", "AWAY_SCORE": "0", "ODD" "Gotcha", "yet"}, { "DATE", "2017-10-19", "COUNTRY_LEAGUE" "Euro.L", "TIME", "20:05", "HOME_TEAM" "Dyn. Kiev "," AWAY_TEAM ":" Young Boys "," HOME_SCORE ":" 0 "," AWAY_SCORE ":" 0 "," ODD ":" 1.23 "," TIP " "", "COUNTRY_LEAGUE": "Euro.L", "TIME": "20:05", "HOME_TEAM": "Villarreal", "AWAY_TEAM": " HOME "," HOME_SCORE ":" 0 "," AWAY_SCORE ":" 0 "," ODD ":" 1.35 "," TIP " "COUNTRY_LEAGUE": "Euro.L", "TIME": "20:05", "HOME_TEAM": "Austria Vienna", "AWAY_TEAM": "HNK Rijeka", "HOME_SCORE" : "0", "AWAY_SCORE": "0", "ODD": "1.33", "TIP": "Over 1.5", "Gotcha": "yet"}, "DATE": "2017-10-19 "" COUNTRY_LEAGUE ":" Euro.L "," TIME "," 20:05 "," HOME_TEAM ":" Everton "," vs. AWAY_TEAM ":" Lyon "," HOME_SCORE ":" 0 "," AWAY_SCORE ": "0", "ODD": "1.45", "TIP": "Everton: win or draw", "Gotcha": "yet"}}}`So the server response from which I want to download custom fields
{"status":"ok","count":2,"count_total":2,"pages":0,"posts":[{"id":4976,"type":"standard_today","slug":"new1","url":"https:\/\/example.pl\/standard_today\/new1\/","status":"publish","title":"NEW1","title_plain":"NEW1","content":"","excerpt":"","date":"2017-10-19 08:28:03","modified":"2017-10-19 08:28:03","categories":[],"tags":[],"author":{"id":1,"slug":"admin","name":"admin","first_name":"","last_name":"","nickname":"admin","url":"","description":""},"comments":[],"attachments":[],"comment_count":0,"comment_status":"closed","custom_fields":{"TIME":["14:00:00"],"DATE":["20171020"],"COUNTRY_LEAGUE":["FIFA"],"HOME_TEAM":["Polska"],"AWAY_TEAM":["Hiszpania"],"HOME_SCORE":["11"],"AWAY_SCORE":["1"],"ODD":["5"],"TIP":["Over 5"],"slide_template":["default"]}},{"id":4959,"type":"standard_today","slug":"new","url":"https:\/\/exampe.pll\/standard_today\/new\/","status":"publish","title":"NEW","title_plain":"NEW","content":"","excerpt":"","date":"2017-10-18 07:14:34","modified":"2017-10-18 07:14:34","categories":[],"tags":[],"author":{"id":1,"slug":"admin","name":"admin","first_name":"","last_name":"","nickname":"admin","url":"","description":""},"comments":[],"attachments":[],"comment_count":0,"comment_status":"closed","custom_fields":{"TIME":["15:00:00"],"DATE":["20171019"],"COUNTRY_LEAGUE":["FIFA"],"HOME_TEAM":["Barcelona"],"AWAY_TEAM":["Real Madryt"],"HOME_SCORE":["3"],"AWAY_SCORE":["1"],"ODD":["3"],"TIP":["Over 3,5"],"slide_template":["default"]}}],"query":{"ignore_sticky_posts":true,"post_type":"standard_today","posts_per_page":"-1"}}
Posts: 1
Participants: 1
Iframe media capture on IONIC is landscaping my portrait images
@temohpab wrote:
I’m trying to capture a photo from an iframe image picker.
If i create an iframe an click in the picker i only can select the photo from the gallery, then i tried installing camera plugin, permission plugin and media capture plugin.
This doesn’t works at all then i installed the crosswalk plugin
Now i can choose in the picker audio files, and images from the camera, BUT if i do a photo in portrait mode this photo auto-rotates and i don’t know why.
Someone has tried something similar?
I test this with this web:
Posts: 1
Participants: 1
Navbar button weird on --prod build (ionic-angular 3.7, app-script 3.0.0)
@Ionize wrote:
Can anyone enlighten me on what’s causing the following behavior?
Navbar Button on --prod, notice the back button not aligned with the title.
Navbar button with desired behavior when deploying without --prod flag.
Any idea? Thanks.
Environment is the following:
global packages:
cordova (Cordova CLI) : 7.0.1local packages:
@ionic/app-scripts : 3.0.0 Cordova Platforms : android 6.2.3 ios 4.4.0 Ionic Framework : ionic-angular 3.7.0System:
ios-deploy : 1.9.2 Node : v8.6.0 npm : 5.5.1 OS : macOS Sierra Xcode : Xcode 8.3.3 Build version 8E3004bMisc:
backend : legacy
Posts: 1
Participants: 1
How to fire callback function from component scope right after alert is being dismissed
@ppotera wrote:
Hi!
I need to fire some function on my page/component right after user clicks OK on an alert. Problem is, this alert is being handled by external service (our notificationService) so I can’t just set this callback as a button action because scope will be wrong (my service instead a component). How to solve that?Instead firing my alert in notificationsService (alert.present()) I could return alert reference to a component and handle it there using alert.onDismiss() + alert.present() but maybe there is an another solution?
Posts: 1
Participants: 1
Can't resolve all parameters. Even though I'm doing it correctly?
@WillP44 wrote:
Hi getting this error when I’m trying to do a production build. I’ve changed the class name and the path name in the log just as its a confidential project.
Can’t resolve all parameters for -CLASSNAME- in -PATHNAME-: (?).
constructor(@Inject(Object) public data: Object) {}Any help?
Posts: 1
Participants: 1
Weird problem release apk
@pisxid12 wrote:
The problem is when I generate the APK in release mode, the login in my app doesn’t work. But… I already done a lot of tests. And I found that the problem is when I change “Debuggable” to false. If I set it true, the app works like a charm.
The other problem is that I can’t upload a debuggable APK to Google Play.
Posts: 1
Participants: 1
App ID already exists in project config. Would you like to link a different app?
@winningtech wrote:
I just upgraded to Ionic Pro and am trying to link my legacy apps. When typing
ionic linkI receive the following message:
App ID already exists in project config. Would you like to link a different app?If I choose
no, it stops. If I chooseyes, then I have to create a new app in the pro Dashboard, which then switches the ID of my app. So I did that, then aftergit push ionic masterthe build fails and I’m stuck.I deleted the app from the Pro dashboard and tried again, only to get:
App ID already exists in project config. Would you like to link a different app?I’m stuck in a loop from hell with no idea how to get out of it and get my apps converted to Pro.
Any suggestions?
Posts: 1
Participants: 1
BLE on Ionic Creator
@amandala wrote:
Hello,
I just started, and reading the ionic creator thinking, this is great, drag and drop, simple logic with directive and I can get any prove of concept App done in no time. But I could not find anywhere on how to include bluetooth (or bluetooth serial) from Creator. I can see many many example of non-Creator project, it would be great if there is any way to import a non-Creator project to Creator, is that possible? If not, would it be at all possible to use Creator for BLE kind of project?
Thanks.
Posts: 1
Participants: 1
Ionic serve on OSX - missing files ionic.bundle.js andng-cordova.min.js
@drucifer wrote:
H there - Sorry I am a complete newbie to ionic but have inherited an existing app and am trying to get it set up to text/preview. I have done a fresh install of Ionic and Cordova today so everything is up to date but ionic serve give me a white page with missing files: http://localhost:8100/lib/ionic/js/ionic.bundle.js and http://localhost:8100/lib/ng-cordova/dist/ng-cordova.min.js - No luck trawling through forums so far as everything suggests updating the CLI which I’ve already done - Any help MUCH appreciated!!
Posts: 1
Participants: 1




