@feezyhendrix wrote:
How do I align the loading splash screen to the bottom?
Posts: 1
Participants: 1
@feezyhendrix wrote:
How do I align the loading splash screen to the bottom?
Posts: 1
Participants: 1
@EnzoDLP wrote:
Hello,
I am looking to connect to his Instagram account to get the nickname and also have access to the different picture of the account to share.
However, I can not manage the API with Ionic especially for this step:
Anyone have any tips or can help me implant?
Posts: 1
Participants: 1
@pkimmlinger wrote:
Hi, I have an app that allows user to report damages of their cars.
In some cases users have to take more then 40-50 pictures.
After a while (I guess 30 pictures and above) Xcode logs the following:
[MC] Invalidating cache
[MC] Reading from public effective user settings.Some pictures later the app crashes while taking a picture and logs:
[ProcessSuspension] 0x28137aa40 - ProcessAssertion() Unable to acquire assertion for process with PID 10149seems like a memory issue, what can I do to solve this ?
Posts: 3
Participants: 2
@mathewk wrote:
Hey, I am facing issues while nesting slides.trying to nest vertical slide inside the horizontal slide. This is just a sample code.
<ion-slides> <ion-slide padding-left padding-right> <ion-slides slidesPerView="5" direction="vertical" > <ion-slide *ngFor="let x of [1,2,3,4,5,6,7]"> hello {{ x }} </ion-slide> </ion-slides> </ion-slide> </ion-slides>
Even slidesPerView not working.any solution?
Posts: 1
Participants: 1
@JensOlleOlsson wrote:
I have this if-statement:
checkFields() { if( this.customerId != null && this.dealerName != null && this.organizationNumber != null && this.numberOfUsers != null ) { this.buttonStatus = false; } else { this.buttonStatus = true; } }
To me this basically says:
If all fields are filled, then enable the button (disabled = false)
But even if just one field is filled, the statement sets the
buttonstatus
to false.Am I missing something?
All the best
Posts: 1
Participants: 1
@funzing wrote:
We use Ionic for native and mobile app as PWA.
On iOS Safari the browser doesn’t hide address bar when scrolling - this is very critical issue for us.
How can we fix this?
Posts: 1
Participants: 1
@Eric_Horodyski wrote:
Forgive me if this information is buried somewhere I haven’t yet found (but please be kind and link it if it’s there ):
My organization needs to transition away from an Encrypted Storage plugin (Intel Security) as it seems to have finally hit it’s end-of-life. This plugin did two things for us, encrypted the data as well as stored it onto the device. This was used to save login tokens for our users to avoid having to login each app session (along with other user metadata).
Abstracting out the encryption portion, I have a few questions about Ionic Storage:
- With default configuration, is there a size limit on how much can be stored?
a. If so, how is memory removed from the device? FIFO, LIFO, etc.- Is SQLite required to prioritize data?
a. I cannot easily find information on how to prioritize data as mentioned in the Ionic Storage README which redirects to LocalForage.If anyone also has any Cordova encryption best-practices, I’d love to hear them as well. I’m struggling on whether we should go native-encryption vs client-side, and/or what JS library to use.
Thanks for any and all help,
Eric
Posts: 1
Participants: 1
@tomeskrt wrote:
I’ve got this grey line every time I use ion-row, can anyone provide me how to avoid having it?
<ion-row style="padding: 6px 12px 6px 0; background-color: white; border-top: 1px solid #cccccc; border-bottom: 1px solid #cccccc;" *ngIf="!select"> <temperature-range [stepkeys]="false" [disabled]="!device.connected || userLimited || (valueUpdating && !demo)" [min]="0" [max]="255" [rangestep]="1" style="width: 100%; background-color: white;" [value]="device.getStatusValue('ColdWhiteLevelState')" (valueChange)="statusChanged($event, 'setColdWhite')"></temperature-range> </ion-row>
Posts: 1
Participants: 1
@bapu1982 wrote:
how to add steal code on ionic 3 app login page.
Not able to see mcafee image. Please help it out.
Pay With
Quick and Free payment solutions
Pay
Posts: 1
Participants: 1
@andjelicnikola wrote:
In Ionic v3 I did something like this to get cursor position: for iOS
textArea._native.nativeElement.selectionStart
and for Androidevent.target.selectionStart
but it seems like I cannot find selectionStart onelementRef
.I tried to access element using
@ViewChild('txArea', { read: ElementRef }) textArea: ElementRef;
and
<ion-textarea #txArea [(ngModel)]="description" (keyup)="onKeyUp($event, txArea)" rows="4" autocorrect="on" autocomplete="on" placeholder="Enter description (i.e. @JoeDoe, #forehand)"> </ion-textarea>
Can somebody help with this?
Thanks
Posts: 1
Participants: 1
@josele2015 wrote:
Hi. I am new in ionic-3. I need to send json data
{ "DivipolaModel": [ { "iIDDIvipola": 1, "tNombreCiudad": "MEDELLIN", "tCodigoCiudad": "05001" }, { "iIDDIvipola": 12, "tNombreCiudad": "ABEJORRAL", "tCodigoCiudad": "05002" } ] } with the header: let header = { "Content-Type":"application/json", toke:token }
Posts: 1
Participants: 1
@rodrigojrmartinez wrote:
There seems to be a bug over the ion-button whenever the disable property changes. This is quite weird, I’m pretty sure it is a bug.
This seems to be happening only when you have a ion-button that you mark as disabled based on a property on your component and this ion-button is inside a ion-buttons component (if the ion-button is not wrapped up inside ion-buttons then it works just fine). Once the button is disabled it remains this way… under the hood the action gets triggered because the button is actually enabled but the style of the button remains as disabled. I’ve review the generated html and css classes and once the button is enabled there’s no refference to the ‘button-disabled’ class
<ion-button (click)="change()"> CHANGE </ion-button> <ion-buttons slot="primary"> <ion-button [disabled]="disabled" (click)="action()"> <ion-icon name="home"></ion-icon> </ion-button> </ion-buttons>
On the component
public disabled = false; public action() { console.log('action triggered'); } public change() { this.disabled = !this.disabled; }
Another thing is that from enabled to disabled it works, you can see the difference. from disabled to enabled is the problem. Does someone else had this problem?
Posts: 1
Participants: 1
@derman10 wrote:
My project run fine on browser, but when I try add platform iOS, I get this error:
--[cordova-plugin-googlemaps]------------------------ From version 2.4.5, the cordova-plugin-googlemaps uses CocoaPod. No longer necessary com.googlemaps.ios plugin. Automatic uninstalling com.googlemaps.ios plugin... ----------------------------------------------------- Failed to install 'cordova-plugin-googlemaps': undefined CordovaError: Promise rejected with non-error: '/Library/Ruby/Gems/2.3.0/gems/claide-1.0.2/lib/claide/command.rb:439:in `help!\':\u001b[31m[!] You cannot run CocoaPods as root.\u001b[39m (CLAide::Help)\n\n\u001b[4mUsage:\u001b[24m\n\n $ \u001b[32mpod\u001b[39m \u001b[32mCOMMAND\u001b[39m\n\n CocoaPods, the Cocoa library package manager.\n\n\u001b[4mCommands:\u001b[24m\n\n \u001b[32m+ cache\u001b[39m Manipulate the CocoaPods cache\n \u001b[32m+ env\u001b[39m Display pod environment\n \u001b[32m+ init\u001b[39m Generate a Podfile for the current directory\n \u001b[32m+ install\u001b[39m Install projectdependencies according to versions from a\n Podfile.lock\n \u001b[32m+ ipc\u001b[39m Inter-process communication\n \u001b[32m+ lib\u001b[39m Develop pods\n \u001b[32m+ list\u001b[39m List pods\n \u001b[32m+ outdated\u001b[39m Show outdated project dependencies\n \u001b[32m+ repo\u001b[39m Manage spec-repositories\n \u001b[32m+ setup\u001b[39m Setup the CocoaPods environment\n \u001b[32m+ spec\u001b[39m Manage pod specs\n \u001b[32m+ update\u001b[39m Update outdated project dependencies and create new Podfile.lock\n\n\u001b[4mOptions:\u001b[24m\n\n \u001b[34m--silent\u001b[39m Show nothing\n \u001b[34m--version\u001b[39m Show the version of the tool\n \u001b[34m--verbose\u001b[39m Show more debugging information\n \u001b[34m--no-ansi\u001b[39m Show output without ANSI codes\n \u001b[34m--help\u001b[39m Show help banner of specified command\n\tfrom /Library/Ruby/Gems/2.3.0/gems/cocoapods-1.5.3/lib/cocoapods/command.rb:47:in `run\'\n\tfrom /Library/Ruby/Gems/2.3.0/gems/cocoapods-1.5.3/bin/pod:55:in `<top (required)>\'\n\tfrom /usr/local/bin/pod:22:in `load\'\n\tfrom /usr/local/bin/pod:22:in `<main>\'\n' at cli.catch.err (/usr/local/lib/node_modules/cordova/bin/cordova:30:15) at process._tickCallback (internal/process/next_tick.js:68:7) [ERROR] An error occurred while running subprocess cordova. cordova platform add ios --save exited with exit code 1. Re-running this command with the --verbose flag may provide more information.
Apparently the problem is “cordova-plugin-googlemaps”
I have removed the platform. Then added CocoaPods ($ “sudo gem install cocoapods”), then add:
export LANG=en_US.UTF-8
but I still getting the error.
What is wrong? Can you help me?
Thanks.
Posts: 1
Participants: 1
@rssh22 wrote:
Hi I’m getting the next error:
Access to XMLHttpRequest at ‘https://firebasestorage.googleapis.com/v0/b/blabla.svg?alt=media&token=468c56’ from origin ‘http://localhost:8100’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.
running my codewith ionic serve or ionic serve -l
the code is:
import { Injectable } from '@angular/core'; import { AngularFireStorage } from '@angular/fire/storage'; import { Observable } from 'rxjs'; import { HTTP } from '@ionic-native/http/ngx'; import { HttpClientModule, HttpClient } from '@angular/common/http'; @Injectable({ providedIn: 'root' }) export class FirebaseSTService { meta: Observable<any>; constructor( private fbStorage: AngularFireStorage, private httpNative: HTTP, private httpClient: HttpClient) { } getFile() { const ref = this.fbStorage.ref('catalog/urology/kidney_cancer/urology_kidney_cancer_diagnostic_2018_r_1_0.svg'); let metadata = ref.getMetadata().subscribe(data => { console.log(data); }) ref.getDownloadURL().subscribe(data => { console.log(data); // this.httpNative.get(data, {}, {}).then( value => { // console.log(value); // }) this.httpClient.get(data).subscribe(response => { console.log(response); }) }); } }
I’ve googled a lot and tried a lot of things but the solutions I’ve found seems to be for ionic versions < 4
Any help?
Posts: 1
Participants: 1
@carinastroehlein wrote:
Hi there,
for my university project I created an ionic app with help from this tutorial:
Everything that is described in this tutorial works fine in my app. I used the exact same code.
I am getting a list of files (in my case pictures) from that app folder I created on the dropbox developer website over the API.
Now having the list with all the files from the public app folder I would like to show/open the pictures (.jpg files) by tapping on the picture. therefore I created a button item in the home.html.
I also tried to link this button with a “open file()”-function but it doesn’t work… I am not very sophisticated in programming with ionic or programming in general.
Unfortunately, I have no clue how to get the picture being shown by tapping on it.
I know there’s a special viewer plugin for ionic that might help but I could not get this one to work either.Is there any similar solution to that problem yet or can someone help?
Best regards,
Carina
Posts: 1
Participants: 1
@aslan123 wrote:
Hi,
I worked on a simple project using Ionic 3 and Angular. I completed it and it worked fine with Ionic lab. However 2 weeks later (now), I ran ionic lab on that project and it just gives me a blank screen when the browser opens. The console gives the following error:
SEC7112: Script from http://localhost:8200/build/app/app.a2co6gra.js was blocked due to mime type mismatch
I have uninstalled cordova and ionic and installed them again, but they didn’t work.
What is this a2co6gra.js and how can I fix the issue please?
I searched and read the following answers but I can’t follow them and they don’t seem to be relevant to this: here and here
Thank you.
Posts: 1
Participants: 1
@sispedroG wrote:
Hello there Ionic community! I’ve been using the framework to develop Apps for a medium/large enterprise (1250 employees). I’ve been asked in the last meeting if a “Hub like App” is possible. Basically what they want is an app that has feed from both apps(and some special events would have its news on that ‘bigger’ app) and should have a button to open the other 2 apps if they’re installed on the device or open each app’s store page. My google searches have been pretty useless, haven’t found much on the subject (maybe “hub” is not the right word). A 3rd App is going to be built one way or another, as those ‘special events’ don’t relate to first 2 apps.
Here are my first thoughts after the meeting:
Pros:
It would be a good way to make people from one App to start using the other one.Cons:
Users don’t like having ‘too many apps’.
Bigger App would be slightly harder to maintain.
Push notifications would probably end up repeating.Thanks everyone.
Posts: 1
Participants: 1
@wysong wrote:
Hi,
I would like to see the location bar in Inappbrowser as target ‘_system’.
I do not see the location bar when I set target ‘_blank’, but I want to target ‘_system’.
Do you have a solution?
Thank you for your help.
Posts: 1
Participants: 1
@mixuala wrote:
I’m updating my project to ionic
4.0.0-rc.2
and I get a number of warnings on peer dependencies. Is there an easy way to updateangular
to fix these issues?npm WARN @ionic/angular@4.0.0-rc.2 requires a peer of @angular-devkit/core@^7.2.0 but none is installed. You must install peer dependenciesyourself. npm WARN @ionic/angular@4.0.0-rc.2 requires a peer of @angular-devkit/schematics@^7.2.0 but none is installed. You must install peer dependencies yourself. npm WARN @ionic/angular@4.0.0-rc.2 requires a peer of @angular/core@^7.2.0 but none is installed. You must install peer dependencies yourself. npm WARN @ionic/angular@4.0.0-rc.2 requires a peer of @angular/common@^7.2.0 but none is installed. You must install peer dependencies yourself. npm WARN @ionic/angular@4.0.0-rc.2 requires a peer of @angular/forms@^7.2.0 but none is installed. You must install peer dependencies yourself. npm WARN @ionic/angular@4.0.0-rc.2 requires a peer of @angular/router@^7.2.0 but none is installed. You must install peer dependencies yourself. npm WARN @ionic/angular@4.0.0-rc.2 requires a peer of @angular/compiler@^7.2.0 but none is installed. You must install peer dependencies yourself. npm WARN @ionic/angular@4.0.0-rc.2 requires a peer of @angular/compiler-cli@^7.2.0 but none is installed. You must install peer dependencies yourself. npm WARN @ionic/angular@4.0.0-rc.2 requires a peer of @angular/platform-browser@^7.2.0 but none is installed. You must install peer dependencies yourself. npm WARN @ionic/angular@4.0.0-rc.2 requires a peer of @angular/platform-browser-dynamic@^7.2.0 but none is installed. You must install peerdependencies yourself.
ionic info
// $ ionic info Ionic: ionic (Ionic CLI) : 4.8.0 (/Users/m/.nvm/versions/node/v8.9.4/lib/node_modules/ionic) Ionic Framework : @ionic/angular 4.0.0-rc.2 @angular-devkit/build-angular : 0.11.4 @angular-devkit/schematics : 7.1.4 @angular/cli : 7.1.4 @ionic/angular-toolkit : 1.2.2 Capacitor: capacitor (Capacitor CLI) : 1.0.0-beta.13 @capacitor/core : 1.0.0-beta.13 Cordova: cordova (Cordova CLI) : 8.0.0 Cordova Platforms : none Cordova Plugins : no whitelisted plugins (0 plugins total) System: ios-deploy : 2.0.0 NodeJS : v8.9.4 (/Users/m/.nvm/versions/node/v8.9.4/bin/node) npm : 6.5.0 OS : macOS High Sierra Xcode : Xcode 10.1 Build version 10B61
Posts: 2
Participants: 1