Try removing the googleplus plugin and re-adding it
FAILURE: Build failed with an exception Execution failed for task ':processDebugResources'
"export 'ICON_PATHS' was not found in 'ionicons/icons'
Hello! To start off, I’m a beginner. I’ve been trying to fix, but I can’t figure it out… it’s probably something really silly, but here it goes…
Creating a Vue project was smooth, with no errors.
Adding Ionic to that Vue project returns the following warning:
warning in ./node_modules/@ionic/vue/dist/ionic-vue.esm.js
export ‘ICON_PATHS’ was not found in ‘ionicons/icons’
All was well until I added the following to the main.js file:
import Ionic from ‘@ionic/vue’;
import ‘@ionic/core/css/ionic.bundle.css’;Vue.use(Ionic);
Only when I add the code for Ionic in the main.js file does the error occur. Also note, the Vue ‘Welcome to Your Vue.js App’ template App goes blank.
Any help with this is greatly appreciated. Gratitude
Not sure if you need this, but here’ the package.json:
{
“name”: “zip-info-p”,
“version”: “0.1.0”,
“private”: true,
“scripts”: {
“serve”: “vue-cli-service serve”,
“build”: “vue-cli-service build”,
“lint”: “vue-cli-service lint”
},
“dependencies”: {
“@ionic/vue”: “0.0.4”,
“core-js”: “^2.6.5”,
“vue”: “^2.6.10”,
“vue-router”: “^3.0.3”
},
“devDependencies”: {
“@vue/cli-plugin-babel”: “^3.8.0”,
“@vue/cli-plugin-eslint”: “^3.8.0”,
“@vue/cli-service”: “^3.8.0”,
“babel-eslint”: “^10.0.1”,
“eslint”: “^5.16.0”,
“eslint-plugin-vue”: “^5.0.0”,
“vue-template-compiler”: “^2.6.10”
},
“eslintConfig”: {
“root”: true,
“env”: {
“node”: true
},
“extends”: [
“plugin:vue/essential”,
“eslint:recommended”
],
“rules”: {},
“parserOptions”: {
“parser”: “babel-eslint”
}
},
“postcss”: {
“plugins”: {
“autoprefixer”: {}
}
},
“browserslist”: [
“> 1%”,
“last 2 versions”
]
}
InAppBrowser not working in Android as it is in iOS
Bonjour Mark,
Il te manque la balise de fermeture de ton bouton.
Hello Mark,
You are missing the closing tag of your button.
Network Error when testing on device with livereload
Resolved by reinstalling cordova-plugin-whitelist. Not sure why it had to be reinstalled, but alas it works now.
Can anybody help me install and use mobiscroll in ionic studio?
I am having a really hard time and have followed Mobiscrolls directions, without any results.
React-valida-hook-ionic
While working on a side project in React+Ionic I ran into complications with validation. Found a partial solution (all praise to Sergio Marin’s react-valida-hook package), modified it, and put the adaptation up as my first NPM module. If you’re working with React+Ionic, it might be able to help you. https://www.npmjs.com/package/react-valida-hook-ionic
IONIC 4 : Loading Controller, dismiss() is called before present() which will keep spinner without dismissing
If you will only every present one loading controller, and I think that’s a good assumption, then I guess you could just store the result of this.loadCtrl.create() in a variable in the service. You could have the function present the loading controller too. Then, when you call dismiss, it uses the stored variable and dismisses that. You code that uses it would look something like this:
await this.loadingSvc.presentLoading(); // it creates the loading thing and presents it. and stores the actual controller in a variable in “this”
// do stuff
this.loadingSvc.close(); // service calls this.theLoader.dismiss(), assuming the local variable was called theLoader.
Hope you understand. if not, I could probably code it up for you.
window.FirebasePlugin.verifyPhoneNumber() not working in iOS
Any help would be greatly appreciated!!
Ionic 4 problem managing push notifications when the app is closed or in background
Still looking for solutions for this. Any help?
Can anybody help me install and use mobiscroll in ionic studio?
What’s Mobiscroll? A component library?
Ion-datetime - scroll has too much momentum
That has the AM/PM unfortunately. It seems 24 hour is not possible.
I ended up using this:
Capture segment change as observable stream
Hi
With FormControl and ION-INPUT one can capture changes using an Observable stream using the valueChanges observable stream. (Ionic v4 - Angular)
Assiging a formcontrol to a select does not seem to work, at least what I tried.
<ion-segment value="all" [formControl]="searchControl">
Anyone have an idea how to subscribe to ion-segment observable stream?
Ideally I don’t want to use ionChange event (can you grab the event as stream?), nor create an BehaviorSubject to create my own stream.
Thanks and regards,
Tom
Device search on network
Did you got solution for this I need the netid and IP of device to check wether my app is connected with local network have any solution i am using ionic 1
Android samsung s8 top of external web pages are getting cut off / under status bar + InAppBrowser
Bumping as I am running into this issue as well. Has any new info come to light?
Get the cursor position inside ion-textarea
I’m trying to build a basic Rich Text Editor with Ionic, and to do so, I need a way to get the current position of the user’s cursor in the text box. This is for the purpose of bolding text inline. However, I cannot find any property that would let me do this. Does anyone have an idea as to how to do this? Maybe I need to use something other than ion-textarea.
Using Ionic4 , angular 7, ng2-charts is not showing chart
Hello! I have been following the npm tutorial as link :https://www.npmjs.com/package/ng2-charts.
I tried to test pie chart on home.page : https://stackblitz.com/edit/ng2-charts-pie-template?file=src%2Fapp%2Fapp.component.css.
The error shows below :
TypeError: Object(…) is not a functionng2-charts.js:230:72
If i roll back to ng-charts version 2.2.3 from 2.3.0. The error is like :
Template parse error. Can’t bind ‘data’ since it’s not known of property of ‘canvas’.
I have been trying it for 2 days already. I tried other example too. it down’t work. I am stuck on here . Could you please help me?
Way to use Cordova-plugin-sqlServer : problem
I find the way now
Dear @Judgewest2000 , your code missing something
[SqlServer.init(‘192.168.123.123’, ‘MSSQLSERVER’, ‘sa’, ‘password’, ] is missing the database name
the correct string is : “192.168.0.120”, “SQLEXPRESS”, “sa”, “01234567”, “dinademo”
Ivan
Handle app restores from background
Hi Im new to ionic,
I have build a app, and i ve used a plugin “@ionic-native/app-minimize”: “^4.20.0”
this plugin minimise the app on button click, when i again open the app i need to call a function like init()…
please help…
I ve tried
ionViewDidLoad() {
alert(“ionViewDidLoad”);
}
not worked…
Floating Action Button as Input type="file"
hiii
you have to use this cordova plugin
How to have a custom history and display the back buttons on a deep link?
In my opinion it doesn’t work. Please reproduce these steps:
- Open app on Android device
- Navigate to any page (home -> any page)
- Refresh the app (I go to chrome://inspect, open app and click f5)
- back button in top left corner works but hardware back button doesn’t