Cordova-sqlite-storage. xml (this is automatic starting with Cordova 7. Cordova-sqlite-storage

 
xml (this is automatic starting with Cordova 7Cordova-sqlite-storage  It works with any one of the following Cordova plugins: Cordova-sqlite-storage; cordova-plugin-sqlite-2; cordova-plugin-websql; This adapter looks for a global cordova

I want to build a cross-platform mobile app with cordova/phonegap which require a database (client-side only). Cordova/PhoneGap sqlite storage adapter (core version) Native interface to sqlite in a Cordova/PhoneGap plugin for Android and iOS, with API similar to HTML5/Web SQL API. 0. 1. There are 47 other projects in the npm registry using cordova-sqlite-storage. 0. I’ve been working on a simple app as a personal project to learn Ionic/Angular. Native interface to SQLite for PhoneGap / Cordova - cordova-sqlite-storage plugin version. Learn more about TeamsLocal storage vs Cordova-sqlite-storage. cordova-sqlite-storage. createInstance() methods, or if using ionic-storage by passing dbKey via IonicStorageModule in your NgModule. There are 47 other projects in the npm registry using cordova-sqlite-storage. Simply build your app like always, install it with ADB and once you want to get the databse you can use the ADB shell as well to extract it from your app to your local filesystem like this: ionic cordova build android # Install the APK with adb install # Run the app through the shell and copy the DB file adb -d shell "run-as io. 0. GoogleMaps @ ~> 3. SQLite vs LocalStorage with Ionic/Firebase. Moreover, we will also learn to load the dummy data from the sql database file using. 0, last published: 9 months ago. Hot Network Questions Terminating an employee with a bus factor of 1Native interface to SQLite for PhoneGap / Cordova - cordova-sqlite-storage plugin version. Install New Ionic 4 Application. sqlite SQLiteExample cd SQLiteExample. For casual storage: If you. Start using cordova-sqlite-storage in your project by running `npm i cordova-sqlite-storage`. e. cordova-sqlite-evfree - similar to cordova-sqlite-ext but with improved memory handling. └────╼ ionic cordova build android > ionic-app-scripts build --target cordova --platform android > cordova build android 9. Works on all Cordova platforms that support HTML5 WebSQL DB in the WebView: Android; iOS; Tizen; Blackberry 10; Works for native SQLite DB via a plugin. $ ionic plugin add cordova-sqlite-storage. I think that the first few lines of the documentation actually say that it uses WebSQL if serving the app to a browser, regardless of whether the sqlite plugin is available. ; This plugin is NOT supported by PhoneGap. db', <- Name of your database . dropInstance() method. 1. Do not import SQLiteObject in your app. $ npm install @ionic/storage $ npm install @ionic/storage-angular $ npm install cordova-sqlite-storage $ npm install localforage. Adding cordova-sqlite-storage to package. In this tutorial, we will learn how to create Ionic Angular CRUD application and implement SQLite Native plugin to store the data in the SQLite Database. 0, last published: 5 months ago. 1. Native SQLite component with API based on HTML5/Web SQL (DRAFT) API for the following platforms: Android; iOS; macOS ("osx" platform) Windows 10 (UWP) DESKTOP and MOBILE (see below for major limitations); LICENSE: MIT, with Apache 2. openDatabase). It is recommended to use the @capacitor-community/sqlite because it has the best maintenance and is open sourceFor High Performance Storage: Use Ionic Storage that uses Cordova SQLite plugin. Yes, it is possible to use Cordova plugins with Capacitor. 32. js typeorm. What is best way to store large data in local for iOS/Android. Its adapter name is. Latest version: 6. Teams. To install use ionic plugin add cordova-sqlite-ext Copy your Database file to the /folder In one of your classes (i tried it on MyApp class contructor after the platfor. I too am having issues opening a Database. Properties. Appropriate Local Storage for Ionic 3. 1. There are 51 other projects in the npm registry using cordova-sqlite-storage. 0 cordova. 0. 12. It works with any one of the following Cordova plugins: Cordova-sqlite-storage; cordova-plugin-sqlite-2; cordova-plugin-websql; This adapter looks for a global cordova. Install your npm packages for your project, npm i, Native interface to SQLite for PhoneGap / Cordova - cordova-sqlite-storage plugin version. August 24th, 2015 Getting Started with Cordova SQLite. Using TypeORM in a Cordova project. Cordova/PhoneGap sqlite storage plugin. My package. tenderApp An Ionic project. 0, which conflicts with another plugin. Thanks. TOP 5%. There are 51 other projects in the npm registry using cordova-sqlite-storage. Be aware that you'll not be able to use sqlite in web browsers, only in emulators or in actual device (in case you need sqlite like support in web browsers, you'll need to support the opening of the database to be Sqlite in mobile, and WebSql. cordova-sqlite-storage 2. L44: readonly sslCA?: string[] | Buffer[]; L46: * String or buffer containing the certificate we wish to presentI just published cordova-sqlite-storage@2. Connect and share knowledge within a single location that is structured and easy to search. Native interface to SQLite for PhoneGap / Cordova - cordova-sqlite-storage plugin version. How to run this example. There are 47 other projects in the npm registry using cordova-sqlite-storage. A Cordova/PhoneGap plugin to open and use sqlite databases on Android/iOS/Windows Universal(8. v1. 0. First, follow the installation steps above to update to Ionic Storage v3, install the localForage-CordovaSQLiteDriver SQLite driver, and integrate Ionic Secure Storage. By the way, the app that I am creating is an offline language tutorial. 925 9 9 silver badges 20 20 bronze badges. This driver has been removed from the core code as of 3. Use with Capacitor vs Cordova? storesafe/cordova-sqlite-storage#869. $ phonegap -v 5. 1. First, install the SQLite Cordova plugin with this command: $ cordova plugin add cordova-sqlite-storage --save. exec (null, null, "SQLitePlugin", "close", [this. This plugin uses the Sqlite to store or access the data. Asking for help, clarification, or responding to other answers. Improve this question. You state here that we should use synchronize:true although the guide is advising against using it in production. Professional support is available, please contact: [email protected]) to your database file, so if your database name is “product-db” (like in my JSON), the file on your device would be called “product-dbSQLite. Latest version: 6. Right-click Solution icon in Solution Explorer > Add > Existing Project. Plugin "cordova-sqlite-storage" already installed on browser. ionic cordova plugin add cordova-sqlite-storage npm install @ionic-native/sqlite Share. . . Upcoming minor release items #685. Ionic2 cordova-sqlite-storage: how to use SQLite as a service. Database can be copied in both directions (backup and restore). 0, last published: a year ago. 1. Keep that in mind especially for the Android DB which you directly extract from the device using the ADB shell. Sorted by: 1. Remove sqlite storage plugin ionic cordova plugin rm cordova-sqlite-storage. Ionic Storage / Local Storage Limitations. Thibaut Pietri. cordova-sqlite-ext - It is an extended version that consists of some additional features such as. Additional limitations are tracked in cordova-sqlite-help doc-todo issues, cordova-sqlite-storage doc-todo issues, and cordova-sqlcipher-adapter doc-todo issues. addEventListener('deviceready', function(. my. Professional support. Keep that in mind especially for the Android DB which you directly extract from the device using the ADB shell. Install latest sqlite storage npm package npm i cordova-sqlite-storage@latest. SQLCipher's community edition is Open Source Software available under a permissive license that allows it's use in both open source and commercial products. So, there is a workaround for it. 8. We can easily do basic CRUD operations on data like Create, Retrieve, Update or Delete Data table rows. Integration with PhoneGap developer app; Use within InAppBrowser; Use within an iframe (see xpbrew/cordova-sqlite-storage#368 (comment)) Date/time handling Note that there is limitation to the amount of storage using the standard approach. Professional support is available, please contact: sales@litehelpers. I've worked on an app that's in the App Store and Google Play today that uses >100Mb of data in SQLite. then add plugin to main capacitor. 3 Project android platform version is android 9. 1. Capacitor Community Plugins. net. Right-click Solution icon in Solution Explorer > Add > Existing Project. Latest version: 1. To get the best storage solution on a device we now need to add a new Cordova plugin which will allow access to the SQLite storage which Ionic Storage will then use internally. 0, last published: a year ago. 1) ionic version is 6. Read our documentation for Ionic Secure Storage and @ionic/storage. If you have a previous platform version, you do *not* need this plugin since the whitelist will be built in. 0, last published: 8 months ago. cordova-sqlite-storage - core version that includes its own sqlite3 implementation. Improve this question. 1)/Amazon Fire-OS/WP(7/8) with HTML5/Web SQL API - GitHub - santoo/Cordova-sqlite-storage: A Cordova/Ph. openDatabase ( {name: 'my. Description: I cannot install the onesignal plugin, i get the following error: platformsandroidcordovaversion"' is not recognized as an internal or external command, operable program or batch file. How can I resolve this dependency conflict after using 'cordova-sqlite-storage' plugin. Available under GPL. Native interface to SQLite for PhoneGap / Cordova - cordova-sqlite-storage plugin version. 0, last published: 2 years ago. The most widely supported option is SQLite. 0. Hot Network Questions Sqlite comparison of the same operand types behaves differently How was the name Abraham pronounced in. 0. 1 released with some changes discussed here: Workaround solutions for iOS/macOS data loss risk issues: compile with SQLITE_THREADSAFE=2 again ref: Database malformation #703; workaround solution for iOS threading issue reported in iOS threading issue with openDatabase? #716A Cordova/PhoneGap plugin to open and use sqlite databases on Android, iOS and Windows with HTML5/Web SQL API - GitHub - minhaferzz/Cordova-sqlite-storage: A Cordova/PhoneGap plugin to open and use. The database is created and opens and the Table is created successfully but. PouchDB adapter using native Cordova SQLite as its backing store. 0, last published: 9 months ago. Native interface to sqlite in a Cordova/PhoneGap plugin for Android, iOS, macOS, and Windows 10 (UWP), with API similar to HTML5/Web SQL API. 5. If you do, that will cause an issue with last_insert_rowid () working as intended. xml (this is automatic starting with Cordova 7. 1)/Amazon Fire-OS/WP(7/8) with. Start using cordova-sqlite-storage in your project by running `npm i cordova-sqlite-storage`. See here. 0 For storing large amounts of data and accessing it in a high performance way, there are a few options. There are 51 other projects in the npm registry using cordova-sqlite-storage. There are 51 other projects in the npm registry using cordova-sqlite-storage. Go into your cordova "plugins" folder. 1), Amazon Fire-OS, and WP(7/8) versions: MIT or Apache 2. 1. I have a project of ionic 5 with capacitor and when I try to open pouchdb database with: let pdb = new PouchDB ('msg. Once you do that. 0Native SQLite; License; Overview. ts. This is different from Ionic Native SQLite. FollowThe most widely supported option is SQLite. To use SQLite in Capacitor, there are three options: The @capacitor-community/sqlite package; The cordova-sqlite-storage package; The non-free Ionic Secure Storage which comes at 999$ per month. There are 51 other projects in the npm registry using cordova-sqlite-storage. install localForage-cordovaSQLiteDriver via npm with: npm i --save localforage localforage-cordovasqlitedriver (ionic 2 users might prefer ths one) cordova plugin add cordova-sqlcipher-adapter --save. 3 amalgamation needed to build iOS, macOS, and Windows platforms. Add the SQLitePlugin project to your solution. 2 Free license terms Commercial license & support; cordova-sqlite-storage - core plugin version: MIT (or Apache 2. My Code works fine on Android platform. The Capacitor team also offers an enterprise SQLite storage solution with encryption support and integration with secure key management APIs on device. Cordova/PhoneGap sqlite storage adapter. Include your pre-populated SQLite database file in the directory of your Cordova project. . See on Cordova-sqlite-storage Plugin Page: To specify a different location (affects iOS only): var db = window. 1. Further testing needed. brodybits mentioned this issue on May 16, 2019. 0”, “cordova-sqlite-storage”: “^6. What is the difference between the two versions? Looks like for some reason, embedding our own version of sqlite3. A Cordova/PhoneGap plugin to open and use sqlite databases on Android, iOS and Windows with HTML5/Web SQL API - GitHub - benydc/Cordova-sqlite-storage: A Cordova/PhoneGap plugin to open and use sql. brodybits. There are 47 other projects in the npm registry using cordova-sqlite-storage. Native interface to sqlite in a Cordova/PhoneGap plugin for Android, iOS, Windows "Universal" (8. 32. 32. Latest version: 6. 1), Amazon Fire-OS, and WP(7/8) with API similar to HTML5/Web SQL API. 0 on Android & Windows) cordova-sqlite-express-build-support - using built-in SQLite libraries on Android, iOS, and macOS To start with first execute the following command in your terminal: ionic cordova plugin add cordova-sqlite-storage. ts ): Encrypting an Existing SQLite Database. 0Before getting too deep into this we should probably figure out the differences between SQLite in Ionic Native and SqlStorage which is part of the Ionic platform. 1. Create an Ionic 5/Angular Project Report malware. the compile break. Therefore, to simplify things, we removed the cordova-sqlcipher-adapter and added the cordova-sqlite-storage plugin to ensure no issues were raised from the cipher aspect. 1. insightmichael May 31, 2017, 12:19pm 8. 0, last published: a year ago. Sorted by: 1. CHANGELOG v1. cordova-sqlite-evfree - similar to cordova-sqlite-ext but with improved memory handling. If the statement did not affect any rows. License terms for Android and Windows platform versions: MIT or Apache 2. 1. How to run this example. plugin. Does TypeORM support sqlite migrations?Contribute to ADDWARE/cordova-sqlite-storage development by creating an account on GitHub. com Learn about Moodle's products, like Moodle LMS or Moodle Worplace, or find a Moodle Certified Service Provider. Start using cordova-sqlite-storage in your project by running `npm i cordova-sqlite-storage`. forRoot ( { name: '__mydb', driverOrder: ['indexeddb', 'sqlite', 'websql'] }) ], Either way, you are likely to have dual existence of Cordova and Capacitor in the app for a while, until you are sure all data of all apps @ users are migrated. x there are at least two good options for SQLite usage: . remove(“mydb. db', iosDatabaseLocation: 'Library'}, successcb, errorcb); where the iosDatabaseLocation option may be set to one of the following choices: default:. js) with SQLite 3. 2 with SQLite 3. Next, install the package (comes by default for Ionic apps > Ionic V1): npm install --save @ionic/storage. . 0 1 Answer. 0, last published: 8 months ago. Start using cordova-sqlite-storage in your project by running `npm i cordova-sqlite-storage`. 3 update * enable RENAME table with view test From December 2019 SQLite crash report, fixed in 2020 * cordova-sqlite-storage 5. If you want to store more than the allowed standard storage than you need to use the sqlite plugin. 1. 3 for browser platform. invoice-generator An Ionic project. Let’s install the fork with: $ ionic plugin add cordova-plugin-sqlite-2 Adding PouchDB. I don't recomend using cordova-plugin-sqlite. But I could not find any good documentation for couchbase-lite in phonegap. 4-mx. Adding it to the project Installing "cordova-sqlite-storage" for ios Failed to install 'cordova-sqlite-storage': CordovaError: Using "requireCordovaModule" to load non-cordova module "q" is not supported. 1 and Android 9 #855. 3. It's hacky, but it would work. 0. parrycima parrycima. Open 32 tasks. Additionally, Ionic Secure Storage has a driver that works with the key/value API in @ionic/storage while providing encryption and SQLite support. We also discovered that ^5. There are 51 other projects in the npm registry using cordova-sqlite-storage. Native interface to sqlite in a Cordova/PhoneGap plugin for Android, iOS, macOS, and Windows 10 (UWP), with API similar to HTML5/Web SQL API. 1, Windows Phone 8. project MyProject && cd MyProjectFolder # if you are just starting cordova plugin add cordova-sqlite-storage --save cordova platform add < desired platform > # repeat for all desired platform(s) cordova prepare # MANDATORY for iOS; RECOMMENDED for. But i have seen some warnings in my console while installing. Latest version: 6. 3 update * enable RENAME table with view test From December 2019 SQLite crash report, fixed in 2020 * cordova-sqlite-storage 5. Local storage is a DOM-standard key-value permanent storage until the user throws away the history, and it has a size limit from 5 to 10MB. A workaround: If you have an ID column that is auto-incremented, you could use the following SQL to get the last entry. I am new to Ionic, trying to build mobile app with offline support. Share. json and be sure you have "cordova-sqlite-storage": "6. Plugin breaks electron builds (cordova. Q&A for work. Since Ionic Storage and direct SQLite are basically the same (both storing data in SQLite on a device) when it comes to the amount of. It supports iOS, Android & Windows platforms. Step 1: Install Ionic Application Step 2: Install SQLite Storage Plugin Step 3: Access Storage API in Ionic Step 4: Set Key/Value Step 5: Get Key/Value Step 6: Remove Storage Value Step 7: Get All Stored Keys Step 8: Test Application Install Ionic Application First and foremost thing, install Ionic CLI tool: sudo npm install -g @ionic/cli Cordova SQLite Storage Plugin This Cordova/PhoneGap plugin uses SQLite databases on Android, iOS and Windows with an HTML5/Web SQL API. 7, last published: 2 years ago. A SQLite database is a full regular. Native interface to SQLite for PhoneGap / Cordova - cordova-sqlite-storage plugin version. This can be used for platforms that don't. To use SQLite in Capacitor, there are three options: The @capacitor-community/sqlite package; The cordova-sqlite-storage package; The non-free Ionic Secure Storage which comes at 999$ per month. 1. Howeever, when running in the web or as a Progressive Web App, Storage will attempt to use IndexedDB, WebSQL, and localstorage, in that order. Native interface to SQLite for PhoneGap / Cordova - cordova-sqlite-storage plugin version. Teams. 0, last published: 8 months ago. 2. Ionic 3 SQLite: SQLiteObject's method executeSql() not working. thanks. ionic cordova platform rm ios; ionic cordova platform rm android; ionic cordova plugin rm cordova-sqlite-storage; npm i cordova-sqlite-storage@latest && ionic cordova plugin add cordova-sqlite-storage; ionic cordova platform add ios; ionic cordova platform add android. Latest version: 6. pouchdb-adapter-cordova-sqlite. It supports the DRAFT API for HTML5/Web SQL and offers various options and features, such as encryption, BASE64, REGEXP, and pre-populated databases. . 32. The npm package cordova-sqlite-storage receives a total of 24,131 downloads a week. Also the docs for the Vue integration appear extremely complicated to me. A Cordova/PhoneGap plugin to open and use sqlite databases on Android, iOS and Windows with HTML5/Web SQL API - GitHub - ubiar/Cordova-sqlite-storage: A Cordova/PhoneGap plugin to open and use sqli. Native interface to SQLite for PhoneGap / Cordova - cordova-sqlite-storage plugin version. $ ionic cordova plugin add cordova-sqlite-storage $ npm install @ionic-native/sqlite import { Component } from '@angular/core'; import { NavController, ToastController, Platform }. However, this doesn't seem to work. SQLite Forum. ready (…) do this: this. tsNative interface to SQLite for PhoneGap / Cordova - cordova-sqlite-storage plugin version. Latest version: 6. 0, last published: 5 months ago. 0, last published: 8 months ago. sqlDB. . Provide details and share your research! But avoid. License for Android, Windows "Universal" (8. Start using cordova-sqlite-storage in your project by running `npm i cordova-sqlite-storage`. No other version or references to this plugin. cordova-sqlite-storage and cordova-plugin-dbcopy. CHANGELOG v1. Latest version: 6. 1. It is the same plugin we used in the Ionic Framework 1 tutorial and it can be added via the following: ionic plugin add cordova-sqlite-storage. Native interface to SQLite for PhoneGap / Cordova - cordova-sqlite-storage plugin version. WP8 platform is no longer supported by this plugin version. It is recommended to use the --save flag on Cordova pre-7. . Latest version: 6. (I think it is about 5MB). 0. 0, last published: 6 months ago. 0 * use cordova-sqlite-storage-dependencies@2. I am currently on cordova-android: 10. 1. 5. A Cordova/PhoneGap plugin to open and use sqlite databases on Android, iOS and Windows with HTML5/Web SQL API - GitHub - liqiuh/Cordova-sqlite-storage: A Cordova/PhoneGap plugin to open and use sqlite databases on Android, iOS and Windows with HTML5/Web SQL APINative interface to SQLite for PhoneGap / Cordova - cordova-sqlite-storage plugin version. 1)/Amazon Fire-OS/WP(7/8) with HTML5/Web SQL API - GitHub - kristfal/Cordova-sqlite-storage: A Cordova/. First time i have to copy the database, and after open it: window. 2. cordova-sqlite-storage, be sure to update it to 6. insertId: the row ID of the row that the SQLResultSet object's SQL statement inserted into the database; rowAffected: the number of rows that were changed by the SQL statement. 8Basically you need to use the plugin cordova-sqlite-ext. Step 1: Update the solution file. 6 / open xcode with the . json file:A Cordova/PhoneGap plugin to open and use sqlite databases on Android, iOS and Windows with HTML5/Web SQL API - GitHub - shaveko/Cordova-sqlite-storage: A Cordova/PhoneGap plugin to open and use sqlite databases on Android, iOS and Windows with HTML5/Web SQL API1 Answer. Start using cordova-sqlite-storage in your project by running `npm i cordova-sqlite-storage`. 0, last published: a year ago. If you have an existing "cordova-sqlite-storage" folder inside, delete it. jsThere are various Cordova plugins that can provide access to native SQLite, such as Cordova-sqlite-storage, cordova-plugin-sqlite-2, or cordova-plugin-websql. npm install @ ionic / storage - angular. 0 "Whitelist" cordova-sqlite-storage 0. Add the SQLitePlugin project to your solution. vcxproj. 1. It works on the same SQL pattern tables and rows. 0, last published: 10 months ago. Instalar las siguientes librerías. And also in conjunction with this too: npm install -g cordova@8. Cordova sqlite storage dependencies. Add the plugin cordova plugin add cordova-plugin-sqlite. ionic. Cordova/PhoneGap sqlite storage adapter with extra features. my. Add support for the localforage. 1. Samsung A52S 5G. 0 on Android & Windows) cordova-sqlite-ext - with extra features including BASE64 (SELECT BLOB in Base64 format), REGEXP, and pre-populated databases: MIT (or Apache 2. Next, install the package (comes by default for Ionic apps > Ionic V1): npm install --save @ionic/storage. As of now there is no support for SQLite DB in Chrome, but fortunately there is another SQL DB available called “WebSQL” which has almost all the apis similiar to that of “cordova-sqlite-storage” . My sqlite plugin versions are as follows: cordova-plugin-sqlite-2 1. . Start using cordova-sqlite-storage in your project by running `npm i cordova-sqlite-storage`. 1)/Amazon Fire-OS/WP(7/8) with HTML5/Web SQL API - GitHub - jianbo1124/Cordova-sqlite-storage: A Cordova/PhoneGap plugin to open and use sqlite databases on Android/iOS/Windows Universal(8. Adding cordova-sqlite-storage to package. Saved searches Use saved searches to filter your results more quicklyThanks for contributing an answer to Stack Overflow! Please be sure to answer the question. There are 4 other projects in the npm registry using cordova-sqlite-storage-dependencies. License for Android version: MIT or Apache 2. ) bug-general testing user community help. . config() or . cordova; plugins; cordova-sqlite-storage; Macsupport. 1. #985 opened on Jul 14, 2021 by aidanas. h, sqlite3. 0, last published: 10 months ago. Data Storage SQLite es un plugin para proyectos desarrollados haciendo uso de Capacitor y que almacena de forma permanente datos usando el sistema de almacenamiento SQLite para plataformas iOS y. Latest version: 6. sqlitePlugin. It has some automatic migration but I have seen it go wrong and would recommend a cleaner solution like I recommended above. 22. I tried adding old Storage and SQLStorage typescript files from Old Ionic 2. Start using cordova-sqlite-storage in your project by running `npm i cordova-sqlite-storage`. Learn more about TeamsCordova SQLite Plugin 2. No storage limits using PouchDB + Cordova-sqlite-storage? 1 "big" attachement over pouchdb with sqlite froze. 0 update ( #867 ). Found answer on # storesafe/cordova-sqlite-storage#954 👍 6 breautek, lucasbasquerotto, sebaferreras, Sulorb, Vogt-Land24, and Motoralfa reacted with thumbs up emoji ️ 2 Vogt-Land24 and Motoralfa reacted with heart emoji 🚀 1 Motoralfa reacted with rocket emojiA Cordova/PhoneGap plugin to open and use sqlite databases on Android/iOS/Windows Universal(8. ionic cordova plugin add cordova-sqlite-storage npm install @ionic-native/sqlite Share. cordova plugin add cordova-sqlcipher-adapter --save Pass the key required by the database to localforage by passing a dbKey property to the . module. 0 option for Android and Windows platforms. 0, last published: 2 years ago. Where do I have to save the database so that cordova can find it and uses it if I compile for a platform? 10. 0 and 1.