Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all 48986 articles
Browse latest View live

Float button icon left?

$
0
0

@NickyTheWrench wrote:

Hey folks!

Using ionic 4, I have an ion-button with an icon:

<ion-button expand="block" color="dark">
     <ion-icon slot="start" name="help"></ion-icon>
     Frequently Asked Questions
</ion-button>

It looks like this:

28%20PM

Does anyone know if there is an “ionic way” to float the icon all the way to the left of the button, but keep the text centered?

Thanks for your help!

PS: I tried adding float-left to the ion-icon element, but no luck.

<ion-icon slot="start" name="help" float-left></ion-icon>

Posts: 2

Participants: 2

Read full topic


Ionic 3 BUG - HTML Elements disappearing on scroll iOS 11

$
0
0

@8tomo8 wrote:

Hey guys,

I’ve come across an issue with Ionic 3 running later versions of iOS where HTML elements are disappearing on scroll. Please see the gif below showing the issue. I have tried applying this css below on the problem elements that was submitted on a similar thread in Github. This has not had any effect. The bug doesn’t happen on iOS 10 and below as well as any Android devices.

transform: translate3d(0, 0, 0)!important; 
    -webkit-transform: translate3d(0, 0, 0)!important; 
    perspective: 1000!important; 
    -webkit-perspective: 1000!important;

Posts: 1

Participants: 1

Read full topic

Unexpected page transition animation on child route

$
0
0

@jlewallen18 wrote:

I am using Ionic v4-beta.18 using the updated lazy loading tabs that were changed in beta.18. This is the following structure for routing in my home page module:

const routes: Routes = [
      {
        path: '',
        component: HomePage,
        children: [
        ]
      },
      {
        path: 'artist/:artist',
        component: ArtistPage
      }
]

Where a url of tabs/home would load the HomePage component and when a user selects an artist that is displayed on that page, it should route to the artist page using:

this.navCtrl.navigateForward(tabs/home/artist/${this.artist.artistUID}));

The page loads correctly, but the animation is different than what I expected. I see an animation sort of like a modal popover instead of a transition to the next page that slides in from the right to left which I was expecting by using the navigateForward() method.

Here’s the animation i see, instead of the “slide-in” animation, is my route nesting incorrect? What else would you need to see to help fix this? Thanks!

demo1

Posts: 1

Participants: 1

Read full topic

Struggling to get Local Notifications to work

$
0
0

@sunnyj58 wrote:

Hi all,

I am trying to use the Local Notifications plugin in my app to give the user a notification every day at time they can set.
I am really struggling to set it to go off every day. Does anyone know how I can do this?

Posts: 2

Participants: 2

Read full topic

Never on the newest version of Ionic?

$
0
0

@ryanlogsdon wrote:

Hi All,

When I upgrade my Ionic version and ask it what version I’m on…

npm i -g ionic
ionic --version

I’m never on the newest. For instance, I’m currently seeing 4.4.0 instead of 4.5.0.

Restarting my Terminal (Mac) and rebooting doesn’t bring me to the newest either. Why is this?

Note: I never have this issue with other packages. I just upgraded npm today, and it’s reporting 6.5.0.

Thanks,
Ryan

Posts: 3

Participants: 2

Read full topic

Suddenly Ionic App is not taking any click (touch)

$
0
0

@manuarya wrote:

Suddenly after publishing application, app stopped to respond on click. Though gesture for opening side menu is working only.

I solved it once by shifting " <ion-nav #myMenu>" above ion-content.
But now again, its doing same problem.
Please find me a solution.

I placed my menu in following way.

<ion-nav #mycontent></ion-nav> <ion-content> <ion-menu type="overlay" [content]="mycontent" ... /> </ion-content>

Posts: 1

Participants: 1

Read full topic

Ion-back-button action different with backbutton hardware

$
0
0

@rashidi wrote:

I have a app with ionic 4 beta 19.
I use ion-back-button in app’s header.
I use NavControl for navigate between pages.
I init back button hardware in app.component.ts with below code:

this.platform.backButton.subscribeWithPriority(9999999, () => {
      const routerOutlet = this.routerOutlets.first;
      this.menuCtrl.isOpen().then((res) => {
        if (res) {
          this.menuCtrl.close();
          return;
        } else if (this.alertService.isOpen()) {
          this.alertService.closeAlert();
          return;
        }

        if (this.router.url === ('/' + AppGlobal.PAGE_LIST.OFFLINE) || this.router.url === ('/' + AppGlobal.PAGE_LIST.REQUEST_SURVEY)) {
          return;
        } else if ((this.router.url === ('/' + AppGlobal.PAGE_LIST.LOGIN)) || (this.router.url === ('/' + AppGlobal.PAGE_LIST.HOME))) {
          this.alertService.showConfirm('EXIT', '', 'DO_YOU_WANT_TO_EXIT?', undefined, undefined, () => {
            navigator['app'].exitApp();
          });
        } else if (routerOutlet && routerOutlet.canGoBack()) {
          this.navCtrl.goBack();
        }

      });

    });

but the pages break out when use back button hardware(android) together with ion-back-button in header.
how to resolve this problem ?

Posts: 1

Participants: 1

Read full topic

Ionic 4 offline Docmumention

$
0
0

@softwarekoch wrote:

Hi,

i am a beginner reagrding ionic, npm, git, etc.
Is there a way, to install the ionic docs offline on my notebook ?
I am looking for a working link, i can execute in a teminal windowm which looks somehow like the following :

npm install json package …

The package itself s here :

Thx, for any help
Dietmar

Posts: 3

Participants: 2

Read full topic


Ion select multiple

Firebase logs user out when building for production

$
0
0

@mrg250 wrote:

Hello,
I have an app that signs users using phone auth (using Firebase). For now, it knows how to redirect them to login page or main activity accordingly .
Whenever I build again (same setting: ‘ionic cordova run android’) , it knows how to keep the user still (that’s good), however, when building again using different settings (build + --prod) it forgets the user.

I know this is cache related, and I’m afraid of saving credentials on the users’ phone because it can be easily deleted by system and such.

How can I prevent this? When the app gets updated in the store it deletes the local cache also?

Posts: 2

Participants: 2

Read full topic

How to install 4.0.0-beta.19

$
0
0

@doug1e wrote:

I need to check a bugfix to hopefully close the issue I opened. However, when I try to install the latest ionic it installs 4.0.0-beta.17 instead of 4.0.0-beta.19.

Could you please point me to the right direction to install the latest release?

Thanks,

Doug

Posts: 2

Participants: 2

Read full topic

Autofocus for date field

$
0
0

@stephannagel wrote:

Hi All,

Is there a way to autofocus on a date field? If I use SetFocus then it only works for input fields.

Thanks for your help

Posts: 1

Participants: 1

Read full topic

Ionic V4 error message

$
0
0

@Ludolefrenchy wrote:

Hello,
I have a login page with error messages

 async err => {
      const toast = await this.toastController.create({
        message: this.errorMessage = err.message,
        showCloseButton: true,
        position: 'middle',
        closeButtonText: 'Fermer'
      });
      toast.present();
    }

everything is displayed but I do not know where the messages are because I want to change them.
maybe I can put my personal messages and call them instead?
I use firebase

thank you in advance

ludo

Posts: 1

Participants: 1

Read full topic

[ionic4-beta19] navigate inside tab

$
0
0

@joseantcal wrote:

Hello.
I just updated my project to beta19, adapting the changes in the tabs.

The problem is if I want to navigate within a tab to another page

If the route to the tab is tabs/tab1 how can I navigate to tabs/tab1/anotherpage

I have tried to add in tab1 module:

const routes: Routes = [
{
path: ‘’,
component: Tab1Page,
children:[
{
path:‘anotherpage’,
children:[
{
path:’’,
loadChildren: ‘…/anotherpage/anotherpage.module#anotherpageModule’
}
]

        }]
}];

But when I go to tabs/tab1/anotherpage the navigator url change, but the page not

Posts: 1

Participants: 1

Read full topic

Some css styling do not appear when application is built

$
0
0

@jagr2713 wrote:

Every time I run “ionic serve” or build an APK for the first time, my CSS seems to not apply to some of my attributes. For example, my header title is suppose to have a white color and aligned in the center of my page. But when I run ionic serve for the first time, it shows a black color and its aligned to the left. But when I refresh the page, it fixes it self, same when I build an APK, and wont do it again. How can I go about fixing this issue?

Posts: 1

Participants: 1

Read full topic


Issue running npm install Mac Os X

$
0
0

@Socode wrote:

Hi, I have a code which is running on PC (linux and windows)
But strangely, it can’t run on Mac Os X : when installing nodes module (npm install ) i got this error :

Thanks for your help !

Last login: Sat Dec 15 23:20:49 on ttys000
-bash: /Users/matthiasconche/.bash_profile: line 3: unexpected EOF while looking for matching ``'
-bash: /Users/matthiasconche/.bash_profile: line 5: syntax error: unexpected end of file
MBP-de-Matthias:~ matthiasconche$ cd /Users/matthiasconche/Downloads/Facebook-clone/facebook-clone 
MBP-de-Matthias:facebook-clone matthiasconche$ npm install

> fsevents@1.2.4 install /Users/matthiasconche/Downloads/Facebook-clone/facebook-clone/node_modules/fsevents
> node install

[fsevents] Success: "/Users/matthiasconche/Downloads/Facebook-clone/facebook-clone/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64/fse.node" already installed
Pass --update-binary to reinstall or --build-from-source to recompile

> grpc@1.10.1 install /Users/matthiasconche/Downloads/Facebook-clone/facebook-clone/node_modules/grpc
> node-pre-gyp install --fallback-to-build --library=static_library

node-pre-gyp ERR! Tried to download(403): https://storage.googleapis.com/grpc-precompiled-binaries/node/grpc/v1.10.1/node-v64-darwin-x64-unknown.tar.gz 
node-pre-gyp ERR! Pre-built binaries not found for grpc@1.10.1 and node@10.9.0 (node-v64 ABI, unknown) (falling back to source compile with node-gyp) 
node-pre-gyp ERR! Pre-built binaries not installable for grpc@1.10.1 and node@10.9.0 (node-v64 ABI, unknown) (falling back to source compile with node-gyp) 
node-pre-gyp ERR! Hit error Connection closed while downloading tarball file 
  CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/init.o
  CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/init.o
rm: ./Release/.deps/Release/obj.target/grpc/deps/grpc/src/core/lib/surface/init.o.d.raw: No such file or directory
make: *** [Release/obj.target/grpc/deps/grpc/src/core/lib/surface/init.o] Error 1
gyp  CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/avl/avl.o
 ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack     at ChildProcess.emit (events.js:182:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:239:12)
gyp ERR! System Darwin 18.0.0
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--library=static_library" "--module=/Users/matthiasconche/Downloads/Facebook-clone/facebook-clone/node_modules/grpc/src/node/extension_binary/node-v64-darwin-x64-unknown/grpc_node.node" "--module_name=grpc_node" "--module_path=/Users/matthiasconche/Downloads/Facebook-clone/facebook-clone/node_modules/grpc/src/node/extension_binary/node-v64-darwin-x64-unknown"
gyp ERR! cwd /Users/matthiasconche/Downloads/Facebook-clone/facebook-clone/node_modules/grpc
gyp ERR! node -v v10.9.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok 
node-pre-gyp ERR! build error 
node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --library=static_library --module=/Users/matthiasconche/Downloads/Facebook-clone/facebook-clone/node_modules/grpc/src/node/extension_binary/node-v64-darwin-x64-unknown/grpc_node.node --module_name=grpc_node --module_path=/Users/matthiasconche/Downloads/Facebook-clone/facebook-clone/node_modules/grpc/src/node/extension_binary/node-v64-darwin-x64-unknown' (1)
node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/Users/matthiasconche/Downloads/Facebook-clone/facebook-clone/node_modules/grpc/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:182:13)
node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:961:16)
node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:250:5)
node-pre-gyp ERR! System Darwin 18.0.0
node-pre-gyp ERR! command "/usr/local/bin/node" "/Users/matthiasconche/Downloads/Facebook-clone/facebook-clone/node_modules/grpc/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build" "--library=static_library"
node-pre-gyp ERR! cwd /Users/matthiasconche/Downloads/Facebook-clone/facebook-clone/node_modules/grpc
node-pre-gyp ERR! node -v v10.9.0
node-pre-gyp ERR! node-pre-gyp -v v0.7.0
node-pre-gyp ERR! not ok 
Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --library=static_library --module=/Users/matthiasconche/Downloads/Facebook-clone/facebook-clone/node_modules/grpc/src/node/extension_binary/node-v64-darwin-x64-unknown/grpc_node.node --module_name=grpc_node --module_path=/Users/matthiasconche/Downloads/Facebook-clone/facebook-clone/node_modules/grpc/src/node/extension_binary/node-v64-darwin-x64-unknown' (1)
  CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/backoff/backoff.oexec install script
In file included from ../deps/grpc/src/core/lib/backoff/backoff.cc:19:iled to exec install script
In file included from ../deps/grpc/src/core/lib/backoff/backoff.h:22:
../deps/grpc/src/core/lib/iomgr/exec_ctx.h:23:10: fatal error: 'grpc/support/cpu.h' file not found
#include <grpc/support/cpu.h>
         ^~~~~~~~~~~~~~~~~~~~
1 error generated.░⸩ ⠏ install: info lifecycle grpc@1.10.1~install: Failed to exec install script
make: *** [Release/obj.target/grpc/deps/grpc/src/core/lib/backoff/backoff.o] Error 1
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack     at ChildProcess.emit (events.js:182:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:239:12)
gyp ERR! System Darwin 18.0.0
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--library=static_library" "--module=/Users/matthiasconche/Downloads/Facebook-clone/facebook-clone/node_modules/grpc/src/node/extension_binary/node-v64-darwin-x64-unknown/grpc_node.node" "--module_name=grpc_node" "--module_path=/Users/matthiasconche/Downloads/Facebook-clone/facebook-clone/node_modules/grpc/src/node/extension_binary/node-v64-darwin-x64-unknown"
gyp ERR! cwd /Users/matthiasconche/Downloads/Facebook-clone/facebook-clone/node_modules/grpc
gyp ERR! node -v v10.9.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok 
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! grpc@1.10.1 install: `node-pre-gyp install --fallback-to-build --library=static_library`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the grpc@1.10.1 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/matthiasconche/.npm/_logs/2018-12-15T22_22_09_989Z-debug.log
MBP-de-Matthias:facebook-clone matthiasconche$ 

node -v :
v10.9.0

ionic -v :
3.20.1

OS :
ProductVersion: 10.14

Posts: 1

Participants: 1

Read full topic

İonic 4 Doesnt work

$
0
0

@feaxer wrote:

I was update ionic 4.5.0 so latest version I get this errors.

 ERROR in ./src/theme/variables.scss (./node_modules/@angular-devkit/build-angular/src/angular-cli-files/plugins/raw-css-loader.js!./node_modules/postcss-loader/src??embedded!./node_modules/sass-loader/lib/loader.js??ref--14-3!./src/theme/variables.scss)
[ng] Module build failed (from ./node_modules/postcss-loader/src/index.js):
[ng] BrowserslistError: Unknown browser query `basedir=$(dirname "$(echo "$0" | sed -e 's`. Maybe you are using old Browserslist or made typo in query.
[ng]     at unknownQuery (C:\Users\Feaxer\Desktop\myApp\node_modules\browserslist\index.js:129:10)
[ng]     at C:\Users\Feaxer\Desktop\myApp\node_modules\browserslist\index.js:187:11
[ng]     at Array.reduce (<anonymous>)
[ng]     at resolve (C:\Users\Feaxer\Desktop\myApp\node_modules\browserslist\index.js:136:18)
[ng]     at browserslist (C:\Users\Feaxer\Desktop\myApp\node_modules\browserslist\index.js:252:16)
[ng]     at Browsers.parse (C:\Users\Feaxer\Desktop\myApp\node_modules\autoprefixer\lib\browsers.js:66:12)
[ng]     at new Browsers (C:\Users\Feaxer\Desktop\myApp\node_modules\autoprefixer\lib\browsers.js:48:26)
[ng]     at loadPrefixes (C:\Users\Feaxer\Desktop\myApp\node_modules\autoprefixer\lib\autoprefixer.js:85:20)
[ng]     at plugin (C:\Users\Feaxer\Desktop\myApp\node_modules\autoprefixer\lib\autoprefixer.js:96:20)
[ng]     at LazyResult.run (C:\Users\Feaxer\Desktop\myApp\node_modules\postcss\lib\lazy-result.js:295:14)
[ng]     at LazyResult.asyncTick (C:\Users\Feaxer\Desktop\myApp\node_modules\postcss\lib\lazy-result.js:208:26)
[ng]     at LazyResult.asyncTick (C:\Users\Feaxer\Desktop\myApp\node_modules\postcss\lib\lazy-result.js:221:14)
[ng]     at C:\Users\Feaxer\Desktop\myApp\node_modules\postcss\lib\lazy-result.js:213:17
[ng] ERROR in ./src/global.scss (./node_modules/@angular-devkit/build-angular/src/angular-cli-files/plugins/raw-css-loader.js!./node_modules/postcss-loader/src??embedded!./node_modules/sass-loader/lib/loader.js??ref--14-3!./src/global.scss)
[ng] Module build failed (from ./node_modules/postcss-loader/src/index.js):
[ng] BrowserslistError: Unknown browser query `basedir=$(dirname "$(echo "$0" | sed -e 's`. Maybe you are using old Browserslist or made typo in query.
[ng]     at unknownQuery (C:\Users\Feaxer\Desktop\myApp\node_modules\browserslist\index.js:129:10)
[ng]     at C:\Users\Feaxer\Desktop\myApp\node_modules\browserslist\index.js:187:11
[ng]     at Array.reduce (<anonymous>)
[ng]     at resolve (C:\Users\Feaxer\Desktop\myApp\node_modules\browserslist\index.js:136:18)
[ng]     at browserslist (C:\Users\Feaxer\Desktop\myApp\node_modules\browserslist\index.js:252:16)
[ng]     at Browsers.parse (C:\Users\Feaxer\Desktop\myApp\node_modules\autoprefixer\lib\browsers.js:66:12)
[ng]     at new Browsers (C:\Users\Feaxer\Desktop\myApp\node_modules\autoprefixer\lib\browsers.js:48:26)
[ng]     at loadPrefixes (C:\Users\Feaxer\Desktop\myApp\node_modules\autoprefixer\lib\autoprefixer.js:85:20)
[ng]     at plugin (C:\Users\Feaxer\Desktop\myApp\node_modules\autoprefixer\lib\autoprefixer.js:96:20)
[ng]     at LazyResult.run (C:\Users\Feaxer\Desktop\myApp\node_modules\postcss\lib\lazy-result.js:295:14)
[ng]     at LazyResult.asyncTick (C:\Users\Feaxer\Desktop\myApp\node_modules\postcss\lib\lazy-result.js:208:26)
[ng]     at LazyResult.asyncTick (C:\Users\Feaxer\Desktop\myApp\node_modules\postcss\lib\lazy-result.js:221:14)
[ng]     at C:\Users\Feaxer\Desktop\myApp\node_modules\postcss\lib\lazy-result.js:213:17
[ng] ERROR in ./src/app/home/home.page.scss
[ng] Module build failed (from ./node_modules/postcss-loader/src/index.js):
[ng] BrowserslistError: Unknown browser query `basedir=$(dirname "$(echo "$0" | sed -e 's`. Maybe you are using old Browserslist or made typo in query.
[ng]     at unknownQuery (C:\Users\Feaxer\Desktop\myApp\node_modules\browserslist\index.js:129:10)
[ng]     at C:\Users\Feaxer\Desktop\myApp\node_modules\browserslist\index.js:187:11
[ng]     at Array.reduce (<anonymous>)
[ng]     at resolve (C:\Users\Feaxer\Desktop\myApp\node_modules\browserslist\index.js:136:18)
[ng]     at browserslist (C:\Users\Feaxer\Desktop\myApp\node_modules\browserslist\index.js:252:16)
[ng]     at Browsers.parse (C:\Users\Feaxer\Desktop\myApp\node_modules\autoprefixer\lib\browsers.js:66:12)
[ng]     at new Browsers (C:\Users\Feaxer\Desktop\myApp\node_modules\autoprefixer\lib\browsers.js:48:26)
[ng]     at loadPrefixes (C:\Users\Feaxer\Desktop\myApp\node_modules\autoprefixer\lib\autoprefixer.js:85:20)
[ng]     at plugin (C:\Users\Feaxer\Desktop\myApp\node_modules\autoprefixer\lib\autoprefixer.js:96:20)
[ng]     at LazyResult.run (C:\Users\Feaxer\Desktop\myApp\node_modules\postcss\lib\lazy-result.js:295:14)
[ng]     at LazyResult.asyncTick (C:\Users\Feaxer\Desktop\myApp\node_modules\postcss\lib\lazy-result.js:208:26)
[ng]     at LazyResult.asyncTick (C:\Users\Feaxer\Desktop\myApp\node_modules\postcss\lib\lazy-result.js:221:14)
[ng]     at C:\Users\Feaxer\Desktop\myApp\node_modules\postcss\lib\lazy-result.js:213:17
[ng]     at process._tickCallback (internal/process/next_tick.js:68:7)
[ng] ERROR in ./ansi-html 1:0
[ng] Module parse failed: Unexpected character '#' (1:0)
[ng] You may need an appropriate loader to handle this file type.
[ng] > #!/bin/sh
[ng] | basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
[ng] |

Package.json

{
  "name": "myApp",
  "version": "0.0.1",
  "author": "Ionic Framework",
  "homepage": "http://ionicframework.com/",
  "scripts": {
    "ng": "ng",
    "start": "ng serve",
    "build": "ng build",
    "test": "ng test",
    "lint": "ng lint",
    "e2e": "ng e2e"
  },
  "private": true,
  "dependencies": {
    "@angular/common": "~7.0.0",
    "@angular/core": "~7.0.0",
    "@angular/forms": "~7.0.0",
    "@angular/http": "~7.0.0",
    "@angular/platform-browser": "~7.0.0",
    "@angular/platform-browser-dynamic": "~7.0.0",
    "@angular/router": "~7.0.0",
    "@ionic-native/core": "5.0.0-beta.21",
    "@ionic-native/splash-screen": "5.0.0-beta.21",
    "@ionic-native/status-bar": "5.0.0-beta.21",
    "@ionic/angular": "4.0.0-beta.17",
    "core-js": "^2.5.4",
    "rxjs": "~6.3.3",
    "zone.js": "~0.8.26"
  },
  "devDependencies": {
    "@angular-devkit/architect": "~0.10.0",
    "@angular-devkit/build-angular": "~0.10.0",
    "@angular-devkit/core": "~7.0.0",
    "@angular-devkit/schematics": "~7.0.0",
    "@angular/cli": "~7.0.0",
    "@angular/compiler": "~7.0.0",
    "@angular/compiler-cli": "~7.0.0",
    "@angular/language-service": "~7.0.0",
    "@ionic/angular-toolkit": "~1.2.0",
    "@types/node": "~10.12.0",
    "@types/jasmine": "~2.8.8",
    "@types/jasminewd2": "~2.0.3",
    "codelyzer": "~4.5.0",
    "jasmine-core": "~2.99.1",
    "jasmine-spec-reporter": "~4.2.1",
    "karma": "~3.0.0",
    "karma-chrome-launcher": "~2.2.0",
    "karma-coverage-istanbul-reporter": "~2.0.1",
    "karma-jasmine": "~1.1.2",
    "karma-jasmine-html-reporter": "^0.2.2",
    "protractor": "~5.4.0",
    "ts-node": "~7.0.0",
    "tslint": "~5.11.0",
    "typescript": "~3.1.6"
  },
  "description": "An Ionic project"
}

ALL İNFO

Ionic:

ionic (Ionic CLI) : 4.5.0 (C:\Windows\System32\node_modules\ionic)
Ionic Framework : @ionic/angular 4.0.0-beta.17
@angular-devkit/build-angular : 0.10.7
@angular-devkit/schematics : 7.0.7
@angular/cli : 7.0.7
@ionic/angular-toolkit : 1.2.0

System:

NodeJS : v10.14.2 (C:\Program Files\nodejs\node.exe)
npm : 6.4.1
OS : Windows 10

Why am I getting this errors ? does someone have the idea ?

Posts: 1

Participants: 1

Read full topic

How to change height of list dynamically?

$
0
0

@pdj wrote:

I have long sentence to show in ion-list , I want list to be enlarged vertically according to sentences, but How can I achieve it?

for example, I have sentence long enough to overflow of ion-item, I want to show it all with enlarged listview vertically.

10

Posts: 1

Participants: 1

Read full topic

Geolocation native plugin is blocked only locally by msg: Geolocation has been disabled in this document by Feature Policy

$
0
0

@Catweazle101 wrote:

Hi all,

After a while I found time to continue my app.
An see, a lot of problems at code, which worked before :wink:

Following method, which worked before, throws me an error now:

this.geolocation.getCurrentPosition()

The error-message within the devtools-console of chrome is:

Geolocation has been disabled in this document by Feature Policy.

On the iPhone device everything works.

Does anybody have an idea?

Ionic:

ionic (Ionic CLI) : 4.2.1 (/usr/local/lib/node_modules/ionic)
Ionic Framework : ionic-angular 3.9.2
@ionic/app-scripts : 3.1.2

Cordova:

cordova (Cordova CLI) : 8.0.0
Cordova Platforms : android 6.3.0, ios 4.5.4
Cordova Plugins : cordova-plugin-ionic-webview 1.1.1, (and 8 other plugins)

System:

Android SDK Tools : 26.1.1 (/Users/oliverwaterkamp/Library/Android/sdk)
ios-deploy : 1.9.2
NodeJS : v8.12.0 (/usr/local/bin/node)
npm : 6.4.1
OS : macOS High Sierra
Xcode : Xcode 10.1 Build version 10B61

Thx,
Oliver

Posts: 2

Participants: 1

Read full topic

Error after using CMD: ionic cordova build android

$
0
0

@akkaoui wrote:

Hello,

I try to generate apk for android but the message error below thanks for your help

D:\plak>ionic cordova build android

ionic-app-scripts build --target cordova --platform android
[11:45:04] ionic-app-scripts 3.2.1
[11:45:04] build dev started …
[11:45:04] clean started …
[11:45:04] clean finished in 27 ms
[11:45:04] copy started …
[11:45:04] deeplinks started …
[11:45:05] deeplinks finished in 165 ms
[11:45:05] transpile started …
[11:45:16] transpile finished in 11.72 s
[11:45:16] preprocess started …
[11:45:16] preprocess finished in 2 ms
[11:45:16] webpack started …
[11:45:17] copy finished in 12.49 s
[11:45:28] webpack finished in 12.06 s
[11:45:28] sass started …
[11:45:33] sass finished in 4.39 s
[11:45:33] postprocess started …
[11:45:33] postprocess finished in 16 ms
[11:45:33] lint started …
[11:45:33] build dev finished in 28.87 s
[11:45:41] lint finished in 8.55 s
cordova build android
C:\Users\AKKAOUI\AppData\Roaming\npm\node_modules\cordova\node_modules\insight\node_modules\configstore\index.js:69
throw err;
^

Error: EPERM: operation not permitted, rename ‘C:\Users\AKKAOUI.config\configstore\insight-cordova.json.2920623324’ -> ‘C:\Users\AKKAOUI.config\configstore\insight-cordova.json’
at Object.renameSync (fs.js:591:3)
at Function.writeFileSync [as sync] (C:\Users\AKKAOUI\AppData\Roaming\npm\node_modules\cordova\node_modules\insight\node_modules\write-file-atomic\index.js:124:8)
at Configstore.set (C:\Users\AKKAOUI\AppData\Roaming\npm\node_modules\cordova\node_modules\insight\node_modules\configstore\index.js:62:21)
at new Configstore (C:\Users\AKKAOUI\AppData\Roaming\npm\node_modules\cordova\node_modules\insight\node_modules\configstore\index.js:27:11)
at new Insight (C:\Users\AKKAOUI\AppData\Roaming\npm\node_modules\cordova\node_modules\insight\lib\index.js:38:34)
at Object. (C:\Users\AKKAOUI\AppData\Roaming\npm\node_modules\cordova\src\telemetry.js:26:15)
at Module._compile (internal/modules/cjs/loader.js:688:30)
at Object.Module._extensions…js (internal/modules/cjs/loader.js:699:10)
at Module.load (internal/modules/cjs/loader.js:598:32)
at tryModuleLoad (internal/modules/cjs/loader.js:537:12)
[ERROR] An error occurred while running subprocess cordova.

    cordova build android exited with exit code 1.

    Re-running this command with the --verbose flag may provide more information.

Posts: 1

Participants: 1

Read full topic

Viewing all 48986 articles
Browse latest View live


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