Quantcast
Channel: Ionic Forum - Latest topics
Viewing all 70434 articles
Browse latest View live

Object(...) is not function, without any specifics plugin information

$
0
0

@khakim wrote:

This is absolute weird, getting this error after fixing some compile problem, not giving any specific plugin error.

Object(...) is not function
TypeError: Object(...) is not a function
    at http://localhost:8100/build/vendor.js:87022:76
    at Object.<anonymous> (http://localhost:8100/build/vendor.js:87047:2)
    at __webpack_require__ (http://localhost:8100/build/vendor.js:55:30)
    at Object.716 (http://localhost:8100/build/main.js:1377:86)
    at __webpack_require__ (http://localhost:8100/build/vendor.js:55:30)
    at Object.431 (http://localhost:8100/build/main.js:1154:73)
    at __webpack_require__ (http://localhost:8100/build/vendor.js:55:30)
    at Object.315 (http://localhost:8100/build/main.js:1138:70)
    at __webpack_require__ (http://localhost:8100/build/vendor.js:55:30)
    at webpackJsonpCallback (http://localhost:8100/build/vendor.js:26:23)
ionic info

Ionic:

   Ionic CLI          : 5.2.1 (/usr/local/lib/node_modules/ionic)
   Ionic Framework    : ionic-angular 3.7.1
   @ionic/app-scripts : 3.1.8

Cordova:

   Cordova CLI       : 9.0.0 (cordova-lib@9.0.1)
   Cordova Platforms : android 8.0.0, browser 5.0.4
   Cordova Plugins   : cordova-plugin-ionic-webview 1.2.1, (and 10 other plugins)

Utility:

   cordova-res : not installed
   native-run  : 0.2.7 

System:

   NodeJS : v10.16.0 (/usr/local/bin/node)
   npm    : 6.9.0
   OS     : Linux 4.18

{
  "name": "coba2",
  "version": "0.0.1",
  "author": "Ionic Framework",
  "homepage": "http://ionicframework.com/",
  "private": true,
  "scripts": {
    "clean": "ionic-app-scripts clean",
    "build": "ionic-app-scripts build",
    "lint": "ionic-app-scripts lint",
    "ionic:build": "ionic-app-scripts build",
    "ionic:serve": "ionic-app-scripts serve"
  },
  "dependencies": {
    "@angular/common": "4.4.3",
    "@angular/compiler": "4.4.3",
    "@angular/compiler-cli": "4.4.3",
    "@angular/core": "4.4.3",
    "@angular/forms": "4.4.3",
    "@angular/http": "4.4.3",
    "@angular/platform-browser": "4.4.3",
    "@angular/platform-browser-dynamic": "4.4.3",
    "@ionic-native/core": "^5.9.0",
    "@ionic-native/file": "4.6.0",
    "@ionic-native/local-notifications": "^5.9.0",
    "@ionic-native/mixpanel": "4.6.0",
    "@ionic-native/splash-screen": "4.6.0",
    "@ionic-native/sqlite": "^4.7.0",
    "@ionic-native/sqlite-porter": "^4.11.0",
    "@ionic-native/status-bar": "4.6.0",
    "@ionic-native/toast": "4.6.0",
    "@ionic/storage": "2.0.1",
    "cordova-android": "^8.0.0",
    "cordova-android-support-gradle-release": "^3.0.1",
    "cordova-browser": "~5.0.3",
    "cordova-ios": "~4.5.4",
    "cordova-plugin-androidx": "^1.0.2",
    "cordova-plugin-compat": "^1.2.0",
    "cordova-plugin-device": "^1.1.4",
    "cordova-plugin-file": "^6.0.1",
    "cordova-plugin-ionic-webview": "^1.1.16",
    "cordova-plugin-splashscreen": "^4.0.3",
    "cordova-plugin-whitelist": "^1.3.4",
    "cordova-sqlite-storage": "^2.3.1",
    "gulp-sass": "4.0.2",
    "ionic-angular": "3.7.1",
    "ionic-plugin-keyboard": "^2.2.1",
    "ionicons": "3.0.0",
    "phonegap-plugin-push": "^2.2.3",
    "promise-polyfill": "^8.1.3",
    "rxjs": "6.0.0",
    "rxjs-compat": "^6.3.3",
    "sw-toolbox": "3.6.0",
    "uk.co.workingedge.cordova.plugin.sqliteporter": "^1.0.5",
    "zone.js": "0.8.18"
  },
  "devDependencies": {
    "@ionic/app-scripts": "3.1.8",
    "typescript": "2.3.4"
  },
  "description": "An Ionic project",
  "cordova": {
    "plugins": {
      "ionic-plugin-keyboard": {},
      "cordova-plugin-whitelist": {},
      "cordova-plugin-device": {},
      "cordova-plugin-splashscreen": {},
      "cordova-plugin-ionic-webview": {},
      "cordova-plugin-compat": {},
      "cordova-plugin-file": {},
      "cordova-sqlite-storage": {},
      "uk.co.workingedge.cordova.plugin.sqliteporter": {},
      "phonegap-plugin-push": {},
      "cordova-android-support-gradle-release": {},
      "cordova-plugin-androidx": {}
    },
    "platforms": [
      "ios",
      "browser"
    ]
  }
}

any solution?

Posts: 1

Participants: 1

Read full topic


Problem with service HTTP origins

$
0
0

@lisandrodc wrote:

Hello, I have made an APP similar to the news but consuming a service created by me. Locally without executing it by means of a real device, the functions to the services are invoked correctly. But when I go to the real device I get the error:

In my PHP service I added the headers:

     header ('Access-Control-Allow-Origin: *');

header (“Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept”);

header (‘Access-Control-Allow-Methods: GET, POST, PUT, DELETE’);

But follow the same error. Previously I gave that same error but with those headers it was solved … with the real device no.

From Angular I invoke import {HttpClient} from ‘@ angular / common / http’;

Thank you very much in advance!

Regards!

Posts: 1

Participants: 1

Read full topic

Unable to serve after running `npm upgrade`

$
0
0

@tbaumer22 wrote:

Hello everyone,

I recently created an Ionic project using the Ionic 4 Beta version… (before Ionic 4 was released) Everything was working perfectly fine until I wanted to try updating the dependencies, including Ionic. So, I ran npm update in the Ionic project. Ever since then, I’ve been unable to run the project itself and get the error:

> ng run app:serve --host=0.0.0.0 --port=8100
[ng] Cannot find module './scalar'
[ng] Error: Cannot find module './scalar'
[ng]     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:582:15)
[ng]     at Function.Module._load (internal/modules/cjs/loader.js:508:25)
[ng]     at Module.require (internal/modules/cjs/loader.js:637:17)
[ng]     at require (internal/modules/cjs/helpers.js:22:18)
[ng]     at Object.<anonymous> (/Users/tateberenbaum/Documents/bitswipe/bitswipe/node_modules/rxjs/internal/observable/of.js:6:16)
[ng]     at Module._compile (internal/modules/cjs/loader.js:701:30)
[ng]     at Object.Module._extensions..js (internal/modules/cjs/loader.js:712:10)
[ng]     at Module.load (internal/modules/cjs/loader.js:600:32)
[ng]     at tryModuleLoad (internal/modules/cjs/loader.js:539:12)
[ng]     at Function.Module._load (internal/modules/cjs/loader.js:531:3)

[ERROR] ng has unexpectedly closed (exit code 1).
        
        The Ionic CLI will exit. Please check any output above for error details.

After this, I’ve tried to run npm install scalar but that failed to solve the issue. If anyone knows what might be wrong, please tell me! This project is currently on a private GitHub repository, but if anyone would like to see the code in order to help me fix the error, please let me know and I’ll invite you.

Thanks,
Tate

Posts: 1

Participants: 1

Read full topic

5.2.1 Compile error

$
0
0

@cpironmo wrote:

Hi, completed a fresh install on my Mac and hitting the following error stack when I run ionic serve: (interestingly when I ran ionic start MyApp tabs i didn’t get any prompts to help configure the app as per the docs).

[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/sass-loader/lib/loader.js):
[ng] Error: Cannot find module ‘node-sass’
[ng] at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
[ng] at Function.Module._load (internal/modules/cjs/loader.js:562:25)
[ng] at Module.require (internal/modules/cjs/loader.js:690:17)
[ng] at require (internal/modules/cjs/helpers.js:25:18)
[ng] at Object.sassLoader (/Users/chris/sonic/node_modules/sass-loader/lib/loader.js:46:72)
[ng] 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/sass-loader/lib/loader.js):
[ng] Error: Cannot find module ‘node-sass’
[ng] at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
[ng] at Function.Module._load (internal/modules/cjs/loader.js:562:25)
[ng] at Module.require (internal/modules/cjs/loader.js:690:17)
[ng] at require (internal/modules/cjs/helpers.js:25:18)
[ng] at Object.sassLoader (/Users/chris/sonic/node_modules/sass-loader/lib/loader.js:46:72)
[ng] ERROR in ./src/app/app.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/app/app.scss)
[ng] Module build failed (from ./node_modules/sass-loader/lib/loader.js):
[ng] Error: Cannot find module ‘node-sass’
[ng] at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
[ng] at Function.Module._load (internal/modules/cjs/loader.js:562:25)
[ng] at Module.require (internal/modules/cjs/loader.js:690:17)
[ng] at require (internal/modules/cjs/helpers.js:25:18)
[ng] at Object.sassLoader (/Users/chris/sonic/node_modules/sass-loader/lib/loader.js:46:72)
[ng] ERROR in ./src/app/tab1/tab1.page.scss
[ng] Module build failed (from ./node_modules/sass-loader/lib/loader.js):
[ng] Error: Cannot find module ‘node-sass’
[ng] at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
[ng] at Function.Module._load (internal/modules/cjs/loader.js:562:25)
[ng] at Module.require (internal/modules/cjs/loader.js:690:17)
[ng] at require (internal/modules/cjs/helpers.js:25:18)
[ng] at Object.sassLoader (/Users/chris/sonic/node_modules/sass-loader/lib/loader.js:46:72)
[ng] chunk {common} common.js, common.js.map (common) 14.1 kB [rendered]
[ng] chunk {es2015-polyfills} es2015-polyfills.js, es2015-polyfills.js.map (es2015-polyfills) 285 kB [initial] [rendered]
[ng] chunk {main} main.js, main.js.map (main) 23.8 kB [initial] [rendered]
[ng] chunk {polyfills} polyfills.js, polyfills.js.map (polyfills) 237 kB [initial] [rendered]
[ng] chunk {runtime} runtime.js, runtime.js.map (runtime) 8.9 kB [entry] [rendered]
[ng] chunk {styles} styles.js, styles.js.map (styles) 22 kB [initial] [rendered]
[ng] chunk {tab1-tab1-module} tab1-tab1-module.js, tab1-tab1-module.js.map (tab1-tab1-module) 6.38 kB [rendered]
[ng] chunk {tab2-tab2-module} tab2-tab2-module.js, tab2-tab2-module.js.map (tab2-tab2-module) 4.6 kB [rendered]
[ng] chunk {tab3-tab3-module} tab3-tab3-module.js, tab3-tab3-module.js.map (tab3-tab3-module) 4.6 kB [rendered]
[ng] chunk {tabs-tabs-module} tabs-tabs-module.js, tabs-tabs-module.js.map (tabs-tabs-module) 7.63 kB [rendered]
[ng] chunk {vendor} vendor.js, vendor.js.map (vendor) 4.44 MB [initial] [rendered]
[ng] :information_source: 「wdm」: Failed to compile.

Posts: 1

Participants: 1

Read full topic

Unable to set height

$
0
0

@easyadin wrote:

hi, i cant seem to be able to set a default height for ion-textarea.

passed values this way from page A

async popupSchedule(schedule){
const modal = await this.modalCtrl.create({
component: EditSchedulePage,
componentProps: {
‘title’:schedule.data().title,
‘description’: schedule.data().description,
‘date’: schedule.data().date,
}
});
return await modal.present();
}

and on another page i received input like this

@Input() title : string;
@Input() descrption : string;
@Input() date : string;

and in html

the concern is on the textarea…i expected it would expand based on the length of texts in it.

how can i make that possible?

Posts: 1

Participants: 1

Read full topic

Ionic 4 Facebook Login Android

$
0
0

@rfrancociavaldini wrote:

I followed this tutorial step by step https://ionicthemes.com/tutorials/about/ionic-facebook-login

The issue I’m having is that after the login, my app is not redirecting to the page I need it to. Here’s the code for handling the authentication:

const permissions = ['public_profile', 'email'];

    await this.facebook.login(permissions).then(response => {
        const userId = response.authResponse.userID;
        this.uid = userId;
        this.facebook.api('/me?fields=name,email', permissions)
        .then(user => {
        user.picture = 'https://graph.facebook.com/' + userId + '/picture?type=large';
        const email = user.email;
        this.dataService.getUser(this.uid).subscribe((data) => {
          if (data.data() !== undefined) {
            this.user = data.data();
            this.deviceStorage.set('user', JSON.stringify(data.data()));
            this.deviceStorage.set('uid', this.uid);
            this.dataService.userNewListener(this.uid);
            if (data.data().isNew) {
              this.zone.run(() => {
                this.router.navigate(['/profile']);
              });
              this.toastService.showToast('Please set up your profile first.');
            } else {
              this.zone.run(() => {
                this.router.navigate(['/home']);
              });
              this.toastService.showToast('User has signed in successfully.');
            }
          } else {
            this.dataService.addUser(this.uid, {email, uid: this.uid, isNew: true, isFb: true}).then(() => {
              const obj =  {email, uid: this.uid, isNew: true, isFb: true};
              this.deviceStorage.set('uid', this.uid);
              this.deviceStorage.set('user', JSON.stringify(obj));
              this.toastService.showToast('Please set up your profile first.');
              this.zone.run(() => {
                this.router.navigate(['/profile']);
              });
            }).catch((err) => { console.log('facebookNerror 3 :' + err); });
          }
        });
        }).catch((err) => { console.log('facebookNerror 2 :' + err); });
      }, error => {
      console.log(error);
    }).catch((err) => {
      console.log('facebookNerror 1 :' + err);
      this.toastService.showToast('Native facebook error:');
      this.toastService.showToast('Native facebook error:' + err);
    });

Posts: 1

Participants: 1

Read full topic

Get value from ion-range

$
0
0

@KleberPF wrote:

If I have an ion-range implemented like the example on the documentation

<ion-item>
    <ion-range min="-200" max="200" color="secondary">
      <ion-label slot="start">-200</ion-label>
      <ion-label slot="end">200</ion-label>
    </ion-range>
  </ion-item>

How can I acess the current value on the range?

Posts: 1

Participants: 1

Read full topic

File plugin: Generate ERROR Error: [Object Ob] on console

$
0
0

@epimienta wrote:

Help please!!!

import { File } from ‘@ionic-native/file/ngx’;

When i declare: private archivo: File on constructor. In the console send the next error and the app do not open the page:

Then i remove the declaration on constructor and the app run with out problems.

Can some one help me???

Posts: 1

Participants: 1

Read full topic


White Blank Screen After Splash Screen

$
0
0

@gandhivishalk wrote:

I tested my app “ionic serve --lab” and everything is fine. No errors or warnings at all. I also tried “ionic cordova run android --device” which successfully builds, installs and runs app on my android phone. I saw a quick flash of white screen and immediately it showed my the root page which is a sign-in page. Didn’t see any errors or warnings. Everything looked normal.

I then built using “ionic cordova build android --prod” which created app-debug.apk . I installed this into my android phone. After I clicked icon, I saw splash screen and then the white blank screen. Can some one please help. Any help will be really appreciated. Thank you so much.

My package.json and config.xml files are located here: https://drive.google.com/drive/folders/13oWbn7NxacBKc7uv1AqFXHZ1n9Mixo-L?usp=sharing

Below is output of “ionic info” command:

Ionic:

Ionic CLI : 5.1.0 (C:\Users\vkgandhi84\AppData\Roaming\npm\node_modules\ionic) Ionic Framework : ionic-angular 3.9.6 @ionic/app-scripts : 3.2.3

Cordova:

Cordova CLI : 9.0.0 (cordova-lib@9.0.1) Cordova Platforms : android 8.0.0 Cordova Plugins : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 4.1.1, (and 12 other plugins)

Utility:

cordova-res : 0.5.1 native-run : 0.2.7

System:

Android SDK Tools : 26.1.1 (C:\Users\vkgandhi84\Projects\LAMA\Tools\sdk-tools-windows-4333796) NodeJS : v12.4.0 (C:\Program Files\nodejs\node.exe) npm : 6.9.0 OS : Windows 10

Posts: 2

Participants: 2

Read full topic

Ion-picker - not getting button pressed details back

$
0
0

@wekas wrote:

I can’t seem to get the button role from ion-picker. I need to know if it was ‘done’ or ‘cancel’.
They data is just coming back as follows:

{data: undefined, role: undefined}
let opts: PickerOptions = {
      cssClass: 'time-picker',
      buttons: [
        {
          text: 'Cancel',
          role: 'cancel'
        },
        {
          text: 'Done',
          role: 'done'
        }
      ],
      columns: [
        {
          name: 'hour',
          options: [
            { text: '01', value: '01' },
            { text: '02', value: '02' },
            { text: '03', value: '03' },
            { text: '04', value: '04' },
            { text: '05', value: '05' },
            { text: '06', value: '06' },
            { text: '07', value: '07' },
            { text: '08', value: '08' },
            { text: '09', value: '09' },
            { text: '10', value: '10' },
            { text: '11', value: '11' },
            { text: '12', value: '12' },
            { text: '13', value: '13' },
            { text: '14', value: '14' },
            { text: '15', value: '15' },
            { text: '16', value: '16' },
            { text: '17', value: '17' },
            { text: '18', value: '18' },
            { text: '19', value: '19' },
            { text: '20', value: '20' },
            { text: '21', value: '21' },
            { text: '22', value: '22' },
            { text: '23', value: '23' },
            { text: '24', value: '24' }
          ]
        },
        {
          name: 'minute',
          options: [
            { text: '00', value: '00' },
            { text: '15', value: '15' },
            { text: '30', value: '30' },
            { text: '45', value: '45' }
          ]
        }
      ]
    };

const picker = await this.pickerCtrl.create(opts);
    picker.present();
    picker.onDidDismiss().then(async data => {
      console.log(data);
      const hour = await picker.getColumn('hour');
      const minute = await picker.getColumn('minute');
      this.onChangeFinishTime((hour.options[hour.selectedIndex].value) as number, minute.options[minute.selectedIndex].value as number);
      this.isPickerOpen = false;
    });

Posts: 1

Participants: 1

Read full topic

Ion-picker selected value

$
0
0

@wekas wrote:

Anyone know how to pass which values to select to an ion-picker so it behaves the same as ion-datetime?

Currently it resets each time and the currently selected value is lost.

Posts: 1

Participants: 1

Read full topic

Hi, everyone I want a recommendation building a ecommerce android app

$
0
0

@praveendd wrote:

Can we make a huge ecommerce app using reactjs redux firebase ofcourse ionic. The modules include
1 shopping card
2 wallet
3 reward system
4 Live video streaming using tiktok a nexmo api
5 order delivery system
6 360 product display

Is it possible? O else will I switch to react native? If yes any suggestion links

Posts: 1

Participants: 1

Read full topic

Automatic logout after 5 minutes

$
0
0

@ADesai921 wrote:

Hi, I would like to achieve the following functionality below but not sure what the best way implement it is.

After the user logs in, I would like a 5 minute timer to start in the header on the homepage.
Once the timer reaches 0, i want to create an alert to ask the user if they wish to remain logged in.

If they click yes, the timer will reset to 5 minutes and the process will repeat.
If the user doesn’t respond to the alert within 15 seconds, they are logged out and the app return to the login page.

Posts: 1

Participants: 1

Read full topic

Unlock screenOrientation to discover current orientation

$
0
0

@surumulluprudhviraj wrote:

After Unlocking a phone in Landscape mode, my iOS device does not automatically detect that the phone is in Landscape mode instead reverts to the previous registered mode.

For Example: I have two pages. In one page I unlock the screen orientation and in other page, I lock it in portrait mode. I go to landscape in the unlocked page and come to the other page. The page is locked into portrait mode. Now I change the device to portrait mode in the locked page and open the unlocked page. I expect the page to autodetect that it is in portrait and shift to it. But instead, the unlocked page is opened in landscape mode which is the previous registered mode. Please help.

Posts: 1

Participants: 1

Read full topic

How to create plugin wrapper for custom plugin ionic 4


Ionic Paypal plugin not working in build apk

$
0
0

@noshair wrote:

I am trying to use PayPal plugin in ionic 4, I used the code on the ionic docs followed the steps.
When I ran the application in devapp it successfully opened paypal page and worked fine, but when I built the apk file and ran it in my android device it throws error “plugin_not_installed”.
Here is the code i used for paypal

    this.payPal.init({
      PayPalEnvironmentProduction: 'YOUR_PRODUCTION_CLIENT_ID',
      PayPalEnvironmentSandbox: 'MY_SANDBOX_CLIENT_ID'
    }).then(() => {
      this.payPal.prepareToRender('PayPalEnvironmentSandbox', new PayPalConfiguration({
      })).then(() => {
        // My Code ....        
      }, () => {
        this.presentToast("Prepare to render Error.");
       });
    }, (error) => {
      this.presentToast(JSON.stringify(error));  //This shows error "plugin_not_installed"
    });

Here is my Ionic Info

Ionic:

Ionic CLI : 5.2.1 (C:\Users\nosha\AppData\Roaming\npm\node_modules\ionic)
Ionic Framework : @ionic/angular 4.4.2
@angular-devkit/build-angular : 0.13.9
@angular-devkit/schematics : 7.3.9
@angular/cli : 7.3.9
@ionic/angular-toolkit : 1.5.1

Cordova:

Cordova CLI : 9.0.0 (cordova-lib@9.0.1)
Cordova Platforms : none
Cordova Plugins : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 4.1.1, (and 9 other plugins)

Utility:

cordova-res : 0.5.2
native-run : 0.2.7

System:

Android SDK Tools : 26.1.1 (C:\Users\nosha\AppData\Local\Android\Sdk)
NodeJS : v11.6.0 (C:\Program Files\nodejs\node.exe)
npm : 6.5.0-next.0
OS : Windows 10

Posts: 1

Participants: 1

Read full topic

How to perform encryption on a video?

$
0
0

@omarbakry wrote:

I’m trying to encrypt a video by ionic file encryption native plugin. but i got “plugin_not_installed” error.

Posts: 1

Participants: 1

Read full topic

Service worker and ion-slides

$
0
0

@thruthesky wrote:

Good morning, everyone!

I am testing my Ionic app for publishing as PWA.

Does anyone know about the break of PWA offline “support and Installable” due to the “ion-slides auto-play animation”?

I know when we use “setTimeout()”, “setInterval()”, PWA will fails.

When I use “ion-slides with auto-play”, PWA test fails in LightHouse.

Is it related with anything about the animation of “ion-slides”?

Please help.

Posts: 1

Participants: 1

Read full topic

Chrome extension built with Ionic: Notyfy

$
0
0

@zwacky wrote:

Hey all, I’ve been working quite some time on https://notyfy.co. Before I get to the next phase, I’d like to gather constructive feedback. It might look familiar if you know the “Chime” chrome extension that I loved using. But it stopped working 5 years ago. On top of it, it used chrome extension permissions I’d like to prevent needing to use, e.g. reading cookies.

What does it do: It checks periodically your online platforms and tells you when you have new notifications and lists them all in one place

Do I need to login for these services? No. Notyfy automatically checks which online platforms you’re logged in for.

What online platforms are available:

  • Gmail
  • Facebook
  • Reddit
  • StackOverflow
  • Medium
  • Quora
  • LinkedIn

Tech used:

  • Ionic v4 (vanilla-js provided through CDN)
  • Vue
  • Github pages

Site: https://notyfy.co/

If there is any interest I can try writing up the journey of writing a chrome extension with Ionic, their pros and cons.

Cheers!

Posts: 1

Participants: 1

Read full topic

Ionic v4 generate component within a page folder does not automatically add it to page module

$
0
0

@ashwinj wrote:

Problem:
If you run ionic generate component <existing page>/someCustomComponent ,
it does not make the appropriate changes in the module file.
Example:

CREATE src/app/existing-Page/some-Custom-Component.component.html (38 bytes)
CREATE src/app/existing-Page/some-Custom-Component.component.spec.ts (755 bytes)
CREATE src/app/existing-Page/some-Custom-Component.component.ts (287 bytes)
CREATE src/app/existing-Page/some-Custom-Component.component.scss (0 bytes)

What is missing above is the UPDATE src/app/app-routing.module.ts or update the existing-page.module.ts

However, if you do the same with ionic generate page <existing page>/someCustomPage ,
it works as expected and updates the module file.
Example:

CREATE src/app/existing-Page/some-Custom-Page.module.ts (574 bytes)
CREATE src/app/existing-Page/some-Custom-Page.page.html (132 bytes)
CREATE src/app/existing-Page/some-Custom-Page.page.spec.ts (734 bytes)
CREATE src/app/existing-Page/some-Custom-Page.page.ts (283 bytes)
CREATE src/app/existing-Page/some-Custom-Page.page.scss (0 bytes)
UPDATE src/app/app-routing.module.ts (586 bytes)

Versions:
Running @ionic/angular 4.1.0

Is this expected behavior? Thought the generate should automatically update the parent page module.

Posts: 1

Participants: 1

Read full topic

Viewing all 70434 articles
Browse latest View live


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