Quantcast
Channel: Ionic Forum - Latest posts
Viewing all 228529 articles
Browse latest View live

FAILURE: Build failed with an exception Execution failed for task ':processDebugResources'

$
0
0

Try removing the googleplus plugin and re-adding it


"export 'ICON_PATHS' was not found in 'ionicons/icons'

$
0
0

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

$
0
0

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

$
0
0

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?

$
0
0

I am having a really hard time and have followed Mobiscrolls directions, without any results.

React-valida-hook-ionic

$
0
0

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

$
0
0

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

$
0
0

Any help would be greatly appreciated!!


Ionic 4 problem managing push notifications when the app is closed or in background

$
0
0

Still looking for solutions for this. Any help?

Can anybody help me install and use mobiscroll in ionic studio?

$
0
0

What’s Mobiscroll? A component library?

Ion-datetime - scroll has too much momentum

$
0
0

That has the AM/PM unfortunately. It seems 24 hour is not possible.

I ended up using this:

Capture segment change as observable stream

$
0
0

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

$
0
0

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

$
0
0

Bumping as I am running into this issue as well. Has any new info come to light?

Get the cursor position inside ion-textarea

$
0
0

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

$
0
0

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

$
0
0

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

$
0
0

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"

$
0
0

hiii

you have to use this cordova plugin

How to have a custom history and display the back buttons on a deep link?

$
0
0

In my opinion it doesn’t work. Please reproduce these steps:

  1. Open app on Android device
  2. Navigate to any page (home -> any page)
  3. Refresh the app (I go to chrome://inspect, open app and click f5)
  4. back button in top left corner works but hardware back button doesn’t
Viewing all 228529 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>