Yes. It works very well on Android…
Ionic v5: iFrame does not load on iOS
Ionic 5 Menu is flickering
I’m not using ion-menu anymore and coded for custom menu. You may check this here https://play.google.com/store/apps/details?id=com.idiotfit.android&hl=en
Angular Element + cordova
Do you have a sample project here?
Kind of hard to know what the issue is without one.
Capacitor-android projectDir default path change in latest version
I see I will try all though I have almost resolved old version.
CSS keyframe animation on ion-item is not transitioning smoothly
Just adding a bit here…there were 2 issues pointed out
- Animating css variables
- Sluggish performance
The CSS Variable part is due to a bug in webkit. As I pointed out earlier, they are aware of it. There is no work around for this on iOS.
The sluggish performance is probably do to the DOM read/writes happening. Angular Animations can help here by coordinating animations and dom inserts.
Localhost:8100 could not be loaded because net::ERR_CLEARTEXT_NOT_PERMITTED
your_projetc_ionic/config.xml
Ionic 4 slow performance on user interaction
It’s hard to tell from the gif what is even going on. We’d need a sample project to do more testing, but we have not seen any performance issues that @aabbcc1241 is mentioning.
The idea that “it is slow because it has too many level of shadow DOM” is really not even a valid point. Seems like it’s just pointing to something as the cause without providing any actual facts.
Anyways, provide a demo and we can take a look.
Cannot find module '@angular/core' when using cordova-plugin-file-opener2
I’ve never used React, but can’t help noticing that there is a “Using React? Click here” link in the documentation you linked to, and it does not have an /ngx
at the end of its import.
Blockquote
I’ve never used React, but can’t help noticing that there is a “Using React? Click here” link in the documentation you linked to, and it does not have an /ngx
at the end of its import.
Ionic v5: iFrame does not load on iOS
What is the error you are seeing? What do the dev tools tell you? Please inspect them first and provide the error message
Ionic 5 Menu is flickering
As @Sylvinrodz said, if you could share a demo, this would help isolate the problem. Even if you’re not using ion-menu, it could help the next person.
Ion content
Could You/Should You situation here.
Could you do that? Sure, there’s nothing technically stopping you.
Should you? That’s a whole different question. I’d argue probably not since there is some advanced animations going on with elements on a page while you navigate.
Appflow + capacitor : iOS Package fails
Hi,
Is appflow compatible with capacitor.
I have tried the following steps :
- ionic start laCap tabs --capacitor
- Commit on github
- npm install --save @capacitor/core @capacitor/cli
- npx cap init labCap com.arasolutions.labcap
- Commit on github
- ionic build
- npx cap add ios
- add ios certificate in appflow
- build IOS
The logs ends with :
capacitor init labCap io.ionic.starter --npm-client npm
[12:52:53]: ▸ ? capacitor.config.json already contains cordova preferences. Overwrite with val
‘io.ionic.starter’ is weird because this is not my bundle ID
app ID : fc40254a / build ID : 6807586
Any idea ?
How can i load media files like instagram and facebook
Sure, it’s a bit more on the Angular side of things.
https://www.techiediaries.com/angular-file-upload-progress-bar/
This can at least get you in the right direction. It will show you how to get the progress level of the upload.
How you display that is up to you to find out.
Would love to see what you come up with!
Cordova-plugin-firebase issues with ios
I have created iOS build for my ionic4 app having Cordova version 9.0.0. When I installed cordova-plugin-firebase and build the code with ionic cordova buld ios command, build failed with following error :
The following build commands failed:
CompileC /Users/devbis365/Library/Developer/Xcode/DerivedData/DriversApp-hcwntjbscgtzpvdriulszbasewep/Build/Intermediates.noindex/DriversApp.build/Debug-iphonesimulator/DriversApp.build/Objects-normal/x86_64/FirebasePlugin.o /Users/devbis365/Documents/DriveraAPP/testDrivers/Drivers/platforms/ios/DriversApp/Plugins/cordova-plugin-firebase/FirebasePlugin.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
Any ideas.??
@ionic/storage tables/multiple databases? unclear
@ionic/storage
is a key/value pair storage API. It does not have the concept of tables.
As stated in the docs
Ionic Storage is a free, open source alternative for indie devs, students & hobbyists. It provides an easy way to store key/value pairs and JSON objects.
I’d suggest looking over the example in the docs cus your example is not correct.
Ionic 4 app run after swipe out/killed
Not much you can do here. If the app process is killed, it’s killed. A better option would be to handle things server side instead of client side.
Loading post from Wordpress category (Api Rest V2)
Hi,
I’m testing Ionic with Wordpress and I’m loading all posts from my web with this service code:
export class WordpressService {
url = `https://mydomain.com/wp-json/wp/v2/`;
totalPosts = null;
pages: any;
constructor(private http: HttpClient) { }
getPosts(page = 1): Observable<any[]> {
let options = {
observe: "response" as 'body',
params: {
per_page: '5',
page: ''+page
}
};
return this.http.get<any[]>(`${this.url}posts?_embed`, options).pipe(
map(resp => {
this.pages = resp['headers'].get('x-wp-totalpages');
this.totalPosts = resp['headers'].get('x-wp-total');
let data = resp['body'];
for (let post of data) {
post.media_url = post['_embedded']['wp:featuredmedia'][0]['media_details'].sizes['medium'].source_url;
}
return data;
})
)
}
getPostContent(id) {
return this.http.get(`${this.url}posts/${id}?_embed`).pipe(
map(post => {
post['media_url'] = post['_embedded']['wp:featuredmedia'][0]['media_details'].sizes['medium'].source_url;
return post;
})
)
}
}
It’s working fine (load posts, featured images and parse HTML text) but I need to load posts from one category only.
Any ideas?
Thanks in advance
Cordova-plugin-firebase issues with ios
Please thy this Plugin: https://ionicframework.com/docs/native/firebase-x
Alternatives from Ionic V3 to V4
This shouldn’t be needed anymore since the content size is not determined by JS. It just uses CSS to adjust its size.
If you’re looking to get the height of the Content element though… you could try
@ViewChild(IonContent, { static: false, read: ElementRef })
content: ElementRef<HTMLElement>;
const dimensions = this.content.nativeElement.getBoundingClientRect();
The get the height/width you need from that.
Capacitor-android projectDir default path change in latest version
Thanks for Ionic team’s efforts.
Maybe common.io version mis-match exist as I think:
/android/capacitor-cordova-android-plugins/src/main/java/com/ionicframework/common/IonicCordovaCommon.java:213: error: cannot find symbol
FileUtils.copyDirectory(srcFile, new File(target));
^
symbol: method copyDirectory(File,File)
location: class FileUtils