@sam762 wrote:
hello every one
when i run my app on emulator got this error messagethe connection to server was unsuccessful (http://192.168.137.145:8100)
Posts: 1
Participants: 1
@sam762 wrote:
hello every one
when i run my app on emulator got this error messagethe connection to server was unsuccessful (http://192.168.137.145:8100)
Posts: 1
Participants: 1
@viralpatel wrote:
I’ve tried several methods to disable scroll! Is there any property for ionic3 kinda scroll=“false” available in ionic2 for scroll-content! Thank you very very much.
Posts: 2
Participants: 2
@himsom0528 wrote:
My ionic serve is not working with a brand new app. I dont know why. Can anyone help me to fix it?
Here is the ionic info:
Posts: 1
Participants: 1
@sofianeee wrote:
hi there ,
I’m using cordova-plugin-geolocation https://www.npmjs.com/package/cordova-plugin-geolocation
but with some devices doesn’t work , and work with others
what you think ?
Posts: 1
Participants: 1
@Vartex05 wrote:
I have a question about subscription. Do i have to save subscription and unsubscribe later? For example when i subscribing in page constructor to subject from my provider?
Posts: 2
Participants: 2
@dogansalman wrote:
resized background image when keyboard open
how fix iti added to “ion-content” that “background-cover” class
CSS
.background-cover {
background: url(’…/assets/images/bg.png’) no-repeat;
background-position: center;
background-size: cover;
height: 100%;}
.background-cover a {
color: #fff;
text-decoration: none;
}system
Ionic Framework: 3.9.2
Ionic App Scripts: 3.1.2
Angular Core: 5.0.3
Angular Compiler CLI: 5.0.3
Node: 8.4.0
OS Platform: Windows 10
Navigator Platform: Win32
User Agent: Mozilla/5.0 (Linux; Android 5.0; SM-G900P Build/LRX21T) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.94 Mobile Safari/537.36
Posts: 1
Participants: 1
@jwt02180 wrote:
Hello everyone, I’m hoping I can get some help figuring out how to accomplish my goal here.
The high level concept is to follow this article, and similarly what’s presented in this angular guide, to create a dynamic, reactive, model driven list in ionic. A back end would provide a configuration object to the UI, which then uses FormBuilder to create a form, and some custom components to dynamically render a form on the fly.
I’ve managed to get simplified version of this “working” where I have a custom component taking a configuration property as an input, and dynamically rendering another custom component to make an ion-list. This problem I’m having is that the styles aren’t being appropriately applied because the DOM structure isn’t what ionic is expecting (ion-item isn’t an immediate child of ion-list).
I’ve created a little project on StackBlitz here, which demonstrates what I want, and what I’m trying to do. Hopefully someone can offer suggestions or an answer, thanks!
Posts: 1
Participants: 1
@mikhail-t wrote:
I have created development profile under
Settings -> Certificates & Profilesand uploaded all certificates for both Android and iOS, certificates created according to documentation http://legacy-cloud-docs.ionic.io/services/profiles/#ios-setup.When I try to package app through my dashboard, it generates apk just fine for Android, but fails for iOS with message:
There was an error while submitting your native build. The profile doesn’t contain any valid credentials. Please edit the profile and add credentials before attemping a build.
I’ve double checked the whole iOS certificate generation process, everything seems to be according to the steps provided in docs. Any suggestions how to troubleshoot this?
Posts: 1
Participants: 1
@Lildiz wrote:
Hi,
I have an ionic project running on IIS.When application is on web browser , the source code including src folder,all
assets,providers etc. is seen and everybody can copy the whole code and use it as their own project. To make the appIication more secure against intruders and end users,I want to hide my source code when I run ionic application on web browsers. Is there a way to do that?Best Regards.
Posts: 3
Participants: 2
@philipdring wrote:
Hi,
I have installed jquery.panzoom through npm (https://www.npmjs.com/package/jquery.panzoom) but I can’t seem to import it for use within a jQuery function in my typescript file.
For jQuery itself, this line works fine:
import * as $ from 'jquery';I had to add the typings for jquery too.
On the other hand, I can’t figure out the syntax to import jquery.panzoom. I’ve tried:
import panzoom from 'jquery.panzoom'; import Panzoom from 'jquery.panzoom'; import { panzoom } from 'jquery.panzoom'; import { Panzoom } from 'jquery.panzoom';No luck. Does anyone have any ideas?
Thanks.
Posts: 1
Participants: 1
@JAR19 wrote:
Has anyone else experienced the following problem?
Whilst running ionic serve I make slight chances to the code such as changing the message on a toast. When the page is refreshed it comes up with the message I had two or three changes before. I think what is happening is that the live reload is reverting back to the original code when it was first started.
I have to stop ionic serve and restart it to show the latest changes.
Posts: 1
Participants: 1
@Kpdas999 wrote:
I want to set a default value in ionic input … please help
adderss.ts
<ion-item> <ion-label floating>{{'address.email'|translate}}</ion-label> <ion-input type="text" formControlName="user_email"></ion-input> </ion-item>default mail like example@gmail.com
Posts: 1
Participants: 1
@reedrichards wrote:
I’m pretty sure that I may have 3 or 5 keys in my json ngx-translate translation files which aren’t used anymore in my app (don’t judge me).
Since size of the app = boot time, I would like to try to find them without having to go thru all my keys manually (I know I gonna save maybe 14 bytes, but still, smaller bundle, faster load)
Does someone knows a script or tool library or whatever which would help to achieve this in a fast way?
Posts: 1
Participants: 1
@mg1075_ionic wrote:
I’m using the ng2 translate tool.
It’s going OK, except now I’ve run into an issue with the
ion-segmentand itsion-segment-button.It seems the translation is unable to happen to text inside the
ion-segment-button.Is there a way to have ng2-translate work in this scenario?
Mockup code below:
<ion-segment [(ngModel)]="mainSegements"> <ion-segment-button value="a"> <span>{{ 'SUMMARY' | translate }}</span> </ion-segment-button> <ion-segment-button value="b"> {{ 'DETAILS' | translate }} </ion-segment-button> <ion-segment-button value="c"> {{ 'WHATEVER' | translate }} </ion-segment-button> </ion-segment>
Posts: 1
Participants: 1
@ericeslinger wrote:
more importantly, is there a documented lifecycle here? I’ve got some layouts that conditionally render a FAB into view under certain circumstances, and in other circumstances conditionally add a footer (instead) - currently all of this is done via
ngIf.if I don’t mess with the viewport’s size / orientation, everything is fine. But if I go from wide to narrow view, the fab ends up showing up about 56px too high, which is precisely the height of the footer in wide view. I imagine the footer gets rendered in at some point, some viewcontroller says, “oh hey, a footer, I’d better add a margin-bottom so I don’t screw with scroll underlays” and then neglects to remove it when the footer is pulled from the DOM. If this is the case, I’d like to make another argument for using
position: relativeelements for things like footers instead of screwing around with z index and margins (they are more tricky to get right, but once they’re right the browser deals with the rest, and you don’t have to manually change margins and stuff, but I imagine they also require more modern browsers).Either way, is there some kind of event I can fire to let the view controller know I’ve changed the DOM so it can recalculate margins and whatnot?
Posts: 1
Participants: 1
@jamesharvey wrote:
Hello guys,
When I open up my app built on Ionic (cordova), I found all of them have one to two second long gray loading page before it starts splash screen.
Is there a way to remove this gray screen? have you guys seen this gray loading screen on your app?
Posts: 1
Participants: 1
@rafaeldcastro wrote:
I have an app in which the user must choose his app Icon or even change some other assets through a specific download i will send him within the app.
Is this possible? For both android and IOS?
Thanks for the help?
Posts: 1
Participants: 1
@joeyscarim wrote:
Twice in the past week pushes to our production app have stopped coming for ~6-10 hours and then a flood of them all come in at once.
My
ionic infois:cli packages: (/usr/local/lib/node_modules) @ionic/cli-utils : 1.18.0 ionic (Ionic CLI) : 3.18.0 global packages: cordova (Cordova CLI) : 7.0.1 local packages: @ionic/app-scripts : 2.1.3 Cordova Platforms : android 6.2.3 ios 4.4.0 Ionic Framework : ionic-angular 3.6.0 System: ios-deploy : 1.9.1 ios-sim : 6.0.0 Node : v6.9.2 npm : 5.4.2 OS : macOS High Sierra Xcode : Xcode 9.1 Build version 9B55 Environment Variables: ANDROID_HOME : not set Misc: backend : legacyWe have done no code changes to the app or our server, and this has “resolved” itself in the past when all of the pushes come together in the future.
We are using Ionic Cloud Push and this is happening on both Android and iOS devices.
Looking forward to switching to Pro once push is added to it.
Is this a known issue? Is there anyway to monitor it/patch it until we get Pro access for push?
Posts: 1
Participants: 1
@lemurmonky wrote:
Hi,
I have pinch gestures working using
import { NavController,Gesture } from 'ionic-angular'; @ViewChild('pdf') element; gesture: Gesture ... ionViewDidLoad() { this.gesture = new Gesture(this.element.nativeElement); this.gesture.listen(); this.gesture.on('pinchout',() => { console.log('pinchout'); this.zoomIn(); }); }what i am trying to do is to add a debounce function to the pinchout code so that the zoomin() function doesnt get called 100’s of times.
this.gesture.on('pinchout',() => { console.log('pinchout'); this.zoomIn(); });tried a whole bunch of different stuff,
currently trying to using undersores debounce function as below, still no piethis.gesture.on('pinchout',() => { _.debounce(function(){ console.log('pinchout'); this.zoomIn();},3000,true); });I know this is basically a wrapper around hammer.js, there didn’t seem to be an option there either.
Does anyone have any ideas ?
Posts: 1
Participants: 1
@rkannan wrote:
Since the start, I keep seeing that creting a new project fails…
PS C:\Users\admin> ionic -v
3.19.0
PS C:\Users\admin> ionic start --pro-id 6bac7763
Request: GET https://api.ionicjs.com/apps/6bac7763
Response: 403
Body:
{ message: ‘Not Authorized: Missing Rule: apps:app_id:ReadApp’,
link: null,
type: ‘PermissionError’ }
PS C:\Users\admin> node -v
v9.0.0
PS C:\Users\admin>
Posts: 1
Participants: 1