Did this work for you. I am facing same issue where only partial data is being printed.
Printing on bluetooth printers
Ionic v4 Play Store android.permission.READ_PHONE_STATE [SOLVED]
I don’t know if something changed, but in ionic 5 you must add it like this.
<config-file mode="merge" parent="/manifest" platform="android" xmlns:android="http://schemas.android.com/apk/res/android">
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
</config-file>
SQLite is not working in ionic v4
I’m getting the same error I try to code to solve problem but thing helpful
TypeError: Cannot read property 'then' of undefined while using ionic-v4 with Sqlite
Not working on real device too
TypeError: Cannot read property 'then' of undefined while using ionic-v4 with Sqlite
Try -
1.ionic cordova platform add browser
“and then”
2.ionic cordova run browser
TypeError: Cannot read property 'then' of undefined while using ionic-v4 with Sqlite
Can you point out where in here support for the “browser” platform is declared, because I’m not seeing it?
Json Organization Script Not Working Properly
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "organization",
"image": [
"https://www.richrose.ae/resources/assets/uploads/home/2020-03-239591902.jpeg",
"https://www.richrose.ae/resources/assets/uploads/home/2020-03-235224990.jpeg"
],
"@id": "https://www.richrose.ae/",
"name": "Richrose",
"logo":"https://www.richrose.ae/resources/assets/frontend/img/logo.png",
"sameAs":,["https://twitter.com/RichroseDubai",
"https://www.facebook.com/RichRoseDubai",
"https://www.linkedin.com/company/richrose/",
"https://www.instagram.com/richrosedubai/",
"https://www.pinterest.com/richrosedubai/"],
"description":"Richrose- Online Flower Delivery in Dubai UAE",
"address": {
"@type": "PostalAddress",
"streetAddress": "Capital Golden Tower, Opp. Sobha Sapphire, Business Bay,",
"addressLocality": "Dubai",
"addressRegion": "UAE",
"postalCode": "57HF+5J",
"addressCountry": "AE"
},
"Review": {
"@type": "Review",
"reviewRating": {
"@type": "Rating",
"ratingValue": "5",
"bestRating": "5",
"ratingCount": "27"
},
"author": {
"@type": "Person",
"name": "Ramanathan Senthil Nathan"
}
},
"url": "https://www.richrose.ae/",
"telephone": "+971 45545791",
"aggregateRating": {
"@type": "AggregateRating",
"ratingValue": "4.7",
"bestRating": "5",
"ratingCount": "27"
},
"servesCuisine": "Dubai, Sharjah, Ajman, Al-Ain, Abu Dhabi, Fujairah, Dubai, UAE",
"priceRange": "AED",
"openingHoursSpecification": [
{
"@type": "OpeningHoursSpecification",
"dayOfWeek": [
"Monday",
"Tuesday",
"Wednesday",
"Thursday",
"Friday"
],
"opens": "09:00",
"closes": "19:00"
},
{
"@type": "OpeningHoursSpecification",
"dayOfWeek": "Saturday",
"opens": "09:00",
"closes": "19:00"
},
{
"@type": "OpeningHoursSpecification",
"dayOfWeek": "Sunday",
"opens": "00:00",
"closes": "00:00"
}
]
}
</script>
Ionic v3 / Stenciljs: Menu: must have a "content" element to listen for drag events on
Hi,
I’m trying to include a web component package made in Stencil into my Ionic v3 project.
Once it’s included and i start the app, I get the following error:
Menu: must have a “content” element to listen for drag events on.
Trying to google for a solution for this, it seems to be a known problem, but as far as I understand it’s a problem for Ionic v4 projects. I can’t find anything about it happening in Ionic v3.
I’ve tried to use some of the solutions mentioned in the google results I found, but it doesn’t help.
Is there anyone who knows a solution to this, and can point me in the right direction here?
Thanks in advance.
My code is not hitting the server url
i added my platform and tested my app on the browser and its running but when i m testing it on my device using ionic cordova run android command,its getting installed and running too but when i am trying to login with credentials in my app and hit login button , its displaying an ERROR[object,progress event]! I am sharing auth.service.ts code snippet below.
login(credentials) {
console.log(this.url);
let header: HttpHeaders = new HttpHeaders();
header = header.append(‘Content-Type’, ‘application/json’);
return this.http.post(${this.url}/users/login
, credentials, { headers : header } )
.pipe(
tap(res => {
this.storage.set(TOKEN_KEY, res[‘token’]);
console.log(res[‘token’]);
console.log(TOKEN_KEY);
this.user = this.helper.decodeToken(res[‘token’]);
this.storage.set(‘userid’, res[‘id’] );
console.log(“Hi”+ res[‘id’]);
this.TOKENKEY = res[‘token’];
this.userid = res[‘id’];
this.storage.set(‘userid’, this.userid);
console.log(this.userid);
this.authenticationState.next(true);
this.authenticationState.subscribe(state => {
if (state) {
this.router.navigate([‘tabs’]);
} else {
this.router.navigate([‘login’]);
}
});
}),
catchError(e => {
console.log(e.error);
this.showAlert(“Error” + e.error.msg + e.error );
throw new Error(e);
})
);
}
I guess my login method is not being accessed and the error is being displayed after hitting login button!
My code is working perfectly fine when i am serving it but after building it in my device i am getting an error as i said earlier! My server url is not being hit and maybe thats why i am getting an error! Also do let me know if there is any issues with HTTP header .
Thank you
Web App + Mobile App + PWA using Angular 2 / Ionic
DxMinds Technologies is the best mobile app development company in Kuwait
offers best in class app development services on Android and iOS platforms.
Ionic v3: Toggle Hide/Unhide Passwords works only after round-progress ends
Hello,
I got an app that works as a 2FA and I got an issue with the iOS platform.
- When I toggle hide/unhide password, the ng-container changes only after the round-progress countdown ends (30 sec) and gets the next password from the database.
The problem is that this issue is only on iOS. On Android the ng-countainer changes on each toggle state, after you save and close the configuration page. So with the same code, on iOS I have to wait the counter to end and load the next password, after you switch the toggle hide/unhide password.
[list.html]
<ng-container *ngIf="cod.hide == 1">
<p class="generatedCode">--- ---</p>
<p class="nameCode">{{cod.title}}</p>
</ng-container>
<ng-container *ngIf="cod.hide == 0">
<p class="generatedCode">{{cod.password}}</p>
<p class="nameCode">{{cod.title}}</p>
</ng-container>
[list.ts]
presentPopover(myEvent) {
let popover = this.popoverCtrl.create(PopoverComponent);
popover.present({
ev: myEvent
});
popover.onDidDismiss(data => {
this.getHidePassword();
this.changeClockColor();
setTimeout(() =>{
for(let item of this.passwords){
item["hide"] = this.hidePassword;
}
}, 200);
});
}
[config.html]
<ion-toggle [(ngModel)]="hidePassword" [checked]="hidePassword" (ionChange)="toggleChange($event)"></ion-toggle>
[config.ts]
toggleChange($event){
var check = 0;
if($event.checked){
check = 1;
}
this.database.setDataHide("hidePassword", check).then(() => {
console.log("Saved!");
}).catch(e => console.log(e));
}
Any suggestion on how to make the iOS version work like the Android version ? Or what should I check.
- To hide/unhide
ng-container
(password) every time I change the hide/unhide toggle in config page. Not wait for the counter to end (and get the next password from the database).
Thank you in advance.
Android project is not compiled at Android Studio because of gradle inconsistency
It seems I still use global/shared Gradle. The issue was the Gradle manipulate with Manifest.xml and can not resolve some data. So I removed minSdk, maxSdk from Manifest.xml, synced Gradle files at Android Studio, run compilation from Android Studio, it passed successfully.
Android App Bundle (aab) support
Any news on this? Our team recently started testing/using App Flow, and this kinda defeats the purpose of using AppFlow. it can’t be that hard to add “–packageType=bundle” to the command line?
Import Ionic components globally with @ionic/vue (beta) vue 3
The docs suggests the below implementation
<script>
import { IonContent, IonHeader, IonPage, IonTitle, IonToolbar, } from '@ionic/vue';
export default {
name: 'HomePage',
components: {
IonContent,
IonHeader,
IonPage,
IonTitle,
IonToolbar,
},
};
</script>
But that will become a little too much down the line…
How do I import these components globally with the new @ionic/vue beta (vue 3)?
I mean , with vue 2 vue.use(Ionic)
in main was enough instead of every single components… how do I achieve it with the new beta?
Profitable business franchises
If you run a successful business that offers valuable products or services to consumers, you might want to open other locations to reach a larger audience. Not only will you earn a higher profit, you’ll also help countless new customers while you build your brand from a distance.
postData turns Uncaught TypeError: Cannot read property 'postPvdr' of null error
i mean i tried different functions but i get always same error. for example when i use function named test() this error returns test() is null. any function doesn’t work in this code.
Google Target API error
(topic withdrawn by author, will be automatically deleted in 24 hours unless flagged)
How to update android target API in AppFlow
We are trying to deploy an app using AppFlow, getting this error
Your app currently targets API level 28 and must target at least API level 29 to ensure that it is built on the latest APIs optimised for security and performance. Change your app’s target API level to at least 29
I know how to fix this in android studio if I a release apk using android studio. Is there a way of (1) checking what API target AppFlow is using and (2) changing the target?
Profitable business Opportunity
(post withdrawn by author, will be automatically deleted in 24 hours unless flagged)
How to show alerts on PWA? (Android, iOS)
Hello!
I’m using Capacitor 2.4.0 and Ionic 5.3.X, i’m displaying an alertController for Android and so on, but the problem is when i build a PWA app, it doesnt show anything (Android or iOS) How can I display the alerts on PWA for these two platforms? thank you