Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70916

SQLite and SQLiteObject not find, even after Import from '@ionic-native/sqlite'

$
0
0

@sumanghosh wrote:

Hi All,
I am using Visual Studio Community-2017 version to do hands on CRUD operation in ionic2 and SQLite db.
I have added SQLite storage native addins into VS and now writing .ts for a dbprovider class.
I have imported SQLite and SQLiteObject but compiler can not find them. The code is like below:

dbprovider.ts

import { Injectable } from '@angular/core';
import { Platform } from 'ionic-angular';
import { SQLite, SQLiteObject } from '@ionic-native/sqlite';

export class demo {
sqllite: SQLite;

sqliteobject: SQLiteObject;

}

these two declaration giving complier error, like "Cannot find name...."

Any clue ??

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70916

Trending Articles



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