Hi,
I can help.
You can reach me on Skype: live:austin_3383 or Email: austin@cisinlabs.com so that we can discuss this further.
Austin
Writing experts needed for a writing company!
Ion-select not working when bind the object to the [vale]
the object was set as selected
Angular change detection doesn't work
Cannot scroll, tilt, rotate and zoom the map after setting visibility of Markers or Circles on the map
Here is the solution:
<ion-content>
<div id="map_canvas"></div>
<ng-container *ngFor="let person of people">
<ion-item (click)="showMarker(person)">
Show Marker
</ion-item>
</ng-container>
</ion-content>
Config.xml android-targetSdkVersion value="28" being built value="27"
I changed on config.xml to :
<preference name="android-targetSdkVersion" value="28" />
but it didn’t work so I remove the platform by using :
cordova platform remove android
then add the latest :
cordova platform add android@latest
**I got the solution from https://stackoverflow.com/questions/35573485/ionic-add-platform-android-with-custom-android-target
Question about building with xCode
I’m having some issues with posting builds to Test Flight and trying to figure out what I’m doing wrong. Sometimes my changes aren’t appearing in the builds I’m posting.
After making a change to a file in my /app/src directory, do I need to run any command from terminal before I run Product -> Archive in xCode? Or is running Product -> Archive enough to rebuild the project?
Do I need to run “ionic cordova build ios”?
Thanks for any help.
Question about building with xCode
Yes, after making changes you need to run ionic cordova build ios
or ionic cordova build ios --prod --release
for production build what I recommend when uploading to AppStore.
Back to top button on large lists
Hello everyone. I have large lists in my app and would like to add back to top button which will appear after user scroll specific numbers of pixels from the top for example. For my current implementation, I use IonContent’s event ionScroll
which triggers whenever scrolling on page occurs. Then I check if
event.detail.scrollTop > 1000
, and if condition is true I show back to to button, otherwise hide it.
This solution works indeed but not sure if it will affect performance on low end devices because app needs to check condition written above whenever new scroll on page occurs.
Is there maybe another solution which is more “performance friendly”?
Thanks.
Question about building with xCode
Thank you.
So to confirm, the flow for uploading to Test Flight would be:
-
edit my html files
-
run ionic cordova build ios --prod --release`
-
in Xcode run Product -> Archive and upload to App Store
And I can leave the project open in Xcode while rebuilding it?
Question about building with xCode
That’s right and can leave it opened while rebuilding
Cordova print pdf
Hello, I have a requirement to print pdf via ionic mobile app, I have got many plugins like https://www.npmjs.com/package/cordova-plugin-datecs-printer and other printer plugin where we can print via ionic app. But the issue is none of the plugin allows you to print pdf. Anyone know how to solve this?Thanks in advance.
Question about building with xCode
Thank you so much.
I was testing the app locally, and then posting to the app store without rebuilding first, so it was freezing on the splash screen. Was probably trying to connect to the webserver. I just posted a new build with “ionic cordova build ios --prod --release” first and it worked perfectly.
Set the logout time if user is inactive?
When app goes to background and comes to foreground then app is not able track the time elapsed. Also it expects user intervention to perform any action. Ex: I’m supposed to track 100 seconds, app goes to background and comes to foreground at 120 seconds. Unless user touches the app, the action that was supposed to happen to 100 will not happen. If that action was a feature like logout then it will be a big problem. You have any suggestion to this?
Redirect on login page after 30 seconds of inactivity
I still facing same problem. You have any solution to this ?
Start Refresher progamatically
In Ionic v3 there was a private (with underscore) function we could call to start the ion-refresher component programmatically.
Is there a way to do the same thing in v4? Or should we propose to make the beginRefresh()
function public?
Can't build after installing @ionic-native/firebase-analytics
oh ok ok, I thought you were using cordova in your app… Yes I think for now we need to add manually only in capacitor…
How do we bind values to
i have bind the values through formController
but it’s not bind the correctly,
this is how i bind the values on .ts file
this.rental.setValue(scheme, { emitEvent: false, onlySelf: true });
this is the relevent html
<ion-item>
<ion-label position="floating"> SCHEME</ion-label>
<ion-select placeholder="Select" formControlName="rental" interface="popover">
<ion-select-option *ngFor="let scheme of product" [value]="scheme">
<p class="color-gray font-12 text-align-right bold">
{{scheme.description}}
</p>
</ion-select-option>
</ion-select>
</ion-item>
product is object array
showOpenWithDialog on IOS 12 IPAD does not work
Hi,
I am using the following snippet to open a downloaded file on an iPad.
However when I try it with the .open it works like a charm, but when I use the showOpenWIthDialog it does nothing. No error , only the message the file is opened.
Anyone has any idea?
private openDocument(filePath: string, mimeType: string) {
this.fileOpener
// .showOpenWithDialog(filePath, mimeType ) //open(filePath, mimeType)
.open(filePath, mimeType) // opens with default
.then(() => {
console.log("File has been opened");
this.log.information(`File ${filePath} is opened`);
})
.catch(e => {
console.log("Error opening file", e);
this.log.error(`file ${filePath} cannot be opened`);
this.log.error(e);
});
}
ionic info:
Ionic:
Ionic CLI : 5.4.13 (/usr/local/lib/node_modules/ionic)
Ionic Framework : @ionic/angular 4.11.7
@angular-devkit/build-angular : 0.803.21
@angular-devkit/schematics : 8.1.3
@angular/cli : 8.3.21
@ionic/angular-toolkit : 2.0.0
Cordova:
Cordova CLI : 9.0.0 (cordova-lib@9.0.1)
Cordova Platforms : ios 5.1.1
Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 2.5.2, (and 12 other plugins)
Utility:
cordova-res : not installed
native-run : 0.3.0
System:
ios-deploy : 1.10.0
ios-sim : 8.0.2
NodeJS : v10.16.3 (/usr/local/bin/node)
npm : 6.9.0
OS : macOS Catalina
Xcode : Xcode 11.3.1 Build version 11C504
Remove bottom border from in Ionic 4
<ion-item lines="none">
works perfectly. Thanks a lot.
ERR_CLEARTEXT_NOT_PERMITTED in debug app on Android
Just Replace this:
<application android:networkSecurityConfig="@xml/network_security_config" />
and Add this:
<application android:usesCleartextTraffic="true" />
Example config.xml:
<edit-config file="app/src/main/AndroidManifest.xml" mode="merge" target="/manifest/application" xmlns:android="http://schemas.android.com/apk/res/android">
<application android:usesCleartextTraffic="true" />
</edit-config>
I hope to solve your problem.