Ionic 3 tabs active
i have 5 tabs in my ionic 3 app and they are working as expected with in the app. Now i’m implementing FCM push notifications and i’m trying to redirect the user from the notification to specific...
View ArticleBackground Design
Hi Vishal. I think you should look at an easier way of accomplishing this for now, seeing that there would be some dev work needed as mentioned by Chris. I would make the buttons as images in a...
View ArticleBuild/main.js in PWA has all the source code! How to protect my PWA?
I solved it. I created “.haccess” file inside “build” directory: RewriteEngine On RewriteCond %{HTTP_REFERER} !^https://(.+.)?mywebsite.com/ [NC] RewriteRule .*.(js|css|map)$ - [F]
View ArticleIonic Studio won't load
Hi. Do you have the latest version of Node Js as well as the IONIC CLI installed locally?
View ArticleText area for terms and conditions
Hi, I’ve seen that in some sites you have to scroll all the “terms and conditions” in a text area before that it is considered as “read”. Is it possible to implement something similar on Ionic4? Do...
View ArticleTrying to use Node Module with Ionic 4 & Angular
Hello @Ray02 I did manage to find the issue with this module. It doesn’t have anything to do with the Ionic Framework, but rather how it WLSJS affected when it is used in a browser. I had to edit the...
View ArticleOpen map application
public openMapsApp(location: any) { if (this.platform.is('android')) { window.location.href = 'geo:' + location; } else { window.location.href = 'maps://maps.apple.com/?q=' + location; } }
View ArticleERROR: Undefined is not a function (near '.addEventListener...')
I have a page in which two ion-items act as a place to drop files. Unfortunately, they cannot be given the addEventListener function. The items were brought into the page.ts using @ViewChild and a...
View ArticleHow to change icon local notifications
This helped me: https://stackoverflow.com/a/54115579/8711272
View ArticleIonic Native Secure Storage Not Working on Android Q
I’m currently working in a solution for this in a fork of cordova-plugin-secure-storage Please check this issue comment for more information:...
View ArticleIonic 4 - remove shadow box from ion-searchbar
I am trying to remove the box-shadow from the searchbar through css but it’s not working like this: .searchbar-input { box-shadow: none !important; } but it doesn’t work. However if I edit it directly...
View ArticleCan ionic framework read java jsp?
Hi all, im new to the forum and with ionic framework. I would like to know if an android app written in ionic framework can read the jsp that are returned by a java servlet via an ajax call. My app...
View ArticleError "Your app contains non-public API usage" uploading an app on iOS App Store
ioclaudio: cordova plugin add cordova-plugin-ionic-webview@4.1.0 Thank you for your help, this solved my problem.
View ArticleIonic 4 tab select with button push
BrentAshWilliams: @ViewChild(‘my_profile_tabs’) tabRef: IonTabs; In order to set the type of a ViewChild variable you need to set the ‘read’ option too IonTabs. This would look something like:...
View ArticleIonic 4 tab select with button push
Thank you for the suggestion. Unfortunately I am still getting the same error: ERROR TypeError: Cannot read property 'select' of undefined for this.tabRef.select('tab4'); where tabRef is not defined....
View ArticleIonic 4 tab select with button push
Can you print out this.tabRef so we can see what the actual Object is?
View ArticleIonic 4 tab select with button push
Here is what I have. @ViewChild('my_profile_tabs', {read: IonTabs}) tabRef: IonTabs; buttonClick() { console.log('tabRef ' + this.tabRef); this.tabRef.select('tab4'); } Output in the console is - the...
View ArticleIonic 4 tab select with button push
It looks like I get the tabRef in the higher level component where the html defines the tabs. A ‘child’ tab component does not have a access/reference to the tabRef which is what I need. So how do you...
View ArticleLoginform not working until the page is being reloaded
I am having a problem with my loginform. Either the submit button gets disabled saying the form is invalid even though it isn’t. What also happens occasionaly is that the button works but im getting...
View Article