Skip to content
This repository has been archived by the owner on Jul 7, 2022. It is now read-only.

Commit

Permalink
Update app for 2.5 and WebPacking fix
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanaelA committed Mar 6, 2017
1 parent 17fedbf commit 3e7a7fd
Show file tree
Hide file tree
Showing 8 changed files with 35 additions and 12 deletions.
2 changes: 1 addition & 1 deletion LICENSE
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2015, 2016 Nathanael Anderson
Copyright (c) 2015-2017 Nathanael Anderson

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
1 change: 1 addition & 0 deletions changelog
Expand Up @@ -4,3 +4,4 @@ v1.0.8 - Fix for iOS Column names, Android allow copy from sub-directory
v1.0.9 - Adding Transaction support
v1.0.10 - Fixed docs
v1.1.2 - Fixed ios xCode 8 issues
v1.1.3 - Updated iOS demo and fixes for Webpack
9 changes: 8 additions & 1 deletion demo/app/App_Resources/Android/app.gradle
Expand Up @@ -8,7 +8,14 @@
android {
defaultConfig {
generatedDensities = []
applicationId = "__PACKAGE__"
applicationId = "__PACKAGE__"

//override supported platforms
// ndk {
// abiFilters.clear()
// abiFilters "armeabi-v7a"
// }

}
aaptOptions {
additionalParameters "--no-version-vectors"
Expand Down
2 changes: 1 addition & 1 deletion demo/app/App_Resources/iOS/build.xcconfig
@@ -1,7 +1,7 @@
// You can add custom settings here
// for example you can uncomment the following line to force distribution code signing
// CODE_SIGN_IDENTITY = iPhone Distribution
// To build for device with XCode 8 you need to specify your development team. More info: https://developer.apple.com/library/prerelease/content/releasenotes/DeveloperTools/RN-Xcode/Introduction.html
// To build for device with Xcode 8 you need to specify your development team. More info: https://developer.apple.com/library/prerelease/content/releasenotes/DeveloperTools/RN-Xcode/Introduction.html
// DEVELOPMENT_TEAM = YOUR_TEAM_ID;
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
7 changes: 7 additions & 0 deletions demo/app/bundle-config.js
@@ -0,0 +1,7 @@
if (global.TNS_WEBPACK) {
//registers tns-core-modules UI framework modules
require("bundle-entry-points");

//register application modules
global.registerModule("main-page", function () { return require("./main-page"); });
}
2 changes: 1 addition & 1 deletion demo/app/package.json
@@ -1 +1 @@
{"name":"nativescript-sqlite-example","main":"app.js","jsoptions":"--expose_gc","version":"1.4.0","author":{"name":"Master Technology","email":"support@master-technology.com"},"description":"Nativescript SQLite Sample Application","license":"MIT","keywords":["SQLite","mobile","nativescript","database"],"repository":{"type":"git","url":"git://github.com/NathanaelA/nativescript-sqlite-example.git"},"bugs":{"url":"https://github.com/NathanaelA/nativescript-sqlite-example/issues"},"homepage":"https://github.com/NathanaelA/nativescript-sqlite-example"}
{"name":"nativescript-sqlite-example","main":"app.js","jsoptions":"--expose_gc","version":"2.5.0","author":{"name":"Master Technology","email":"support@master-technology.com"},"description":"Nativescript SQLite Sample Application","license":"MIT","keywords":["SQLite","mobile","nativescript","database"],"repository":{"type":"git","url":"git://github.com/NathanaelA/nativescript-sqlite-example.git"},"bugs":{"url":"https://github.com/NathanaelA/nativescript-sqlite-example/issues"},"homepage":"https://github.com/NathanaelA/nativescript-sqlite-example"}
11 changes: 6 additions & 5 deletions demo/package.json
@@ -1,16 +1,17 @@
{
"description": "NativeScript SQLite Example Application",
"description": "NativeScript SQLite Demo Application",
"license": "MIT",
"readme": "NativeScript SQLIte Example Application",
"repository": "https://github.com/NathanaelA/NativeScript-SQLite",
"readme": "NativeScript SQLite Demo Application",
"repository": "https://github.com/NathanaelA/nativescript-sqlite",
"nativescript": {
"id": "com.mastertechapps.nativescriptsqliteexample"
},
"dependencies": {
"nativescript-sqlite": "file:..",
"tns-core-modules": "latest"
"nativescript-theme-core": "~1.0.2",
"tns-core-modules": "2.5.1"
},
"devDependencies": {

"nativescript-dev-android-snapshot": "^0.*.*"
}
}
13 changes: 10 additions & 3 deletions package.json
@@ -1,20 +1,27 @@
{
"name": "nativescript-sqlite",
"version": "1.1.2",
"version": "1.1.3",
"description": "A sqlite NativeScript module for Android and iOS",
"main": "sqlite",
"nativescript": {
"platforms": {
"android": "1.4.0",
"ios": "1.4.0"
}
},
},
"repository": {
"type": "git",
"url": "https://github.com/nathanaela/nativescript-sqlite.git"
},
"keywords": [
"NativeScript", "SQL", "SQLite", "Database", "DB", "iOS", "Android", "JavaScript"
"NativeScript",
"SQL",
"SQLite",
"Database",
"DB",
"iOS",
"Android",
"JavaScript"
],
"author": {
"name": "Nathanael Anderson",
Expand Down

0 comments on commit 3e7a7fd

Please sign in to comment.