This is my API
This holiday.page.ts file is working in IONIC 4 in browser but not working in Android device some pages are working and some pages are not working. Iam using ‘https’ and also used android:usesCleartextTraffic=“true” in
AndroidManifrst.xml
When I am using this code then it is displaying data only in browser but not displaying in android device and run only error part of holiday.page.ts
Are you using pipe in HolidayPage.html?
for example:
{{value | number: '1.2'}}
1 Like
I am not using pipe in HolidayPage.html
Can you delete
{{post.EventDate | date : 'dd-MM-yyyy'}}
and try? just experiment like this:
{{post.EventDate}}
Actually {{post.EventDate | date : ‘dd-MM-yyyy’}} data is displaying correctly in android device but second…
this.httpClient.get(‘https://get_fleetquarterlyincome.php?
Database=’+Db+’&QuarterIncomeAcademicYear=’+this.AcademicYear+’&QuarterIncomeBusNo=’+this.BusNo)
.subscribe((data1) =>{
this.IncomeData = data1;
console.log(this.IncomeData);
});
this part is not working
1 Like
yes i had the same problem. It was even backend php for me. And after debugging on date for days, I realized that the problem was due to date.