-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #119 from tunapanda/auto_update_ver
update version in cordova config on build, also add version into to login and settings pages
- Loading branch information
Showing
16 changed files
with
184 additions
and
130 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
// Create a copy of this file called `config/custom.js` and modify it for your project. | ||
// You can also make environment-specific settings (for example, if you want to | ||
// use a different xAPI record store for production than development) by | ||
// creating a `config/custom/prodution.js` (or development.js, or whatever) | ||
// and running all your ember and cordova commands with | ||
// --environment=production (or development, or whatever). | ||
module.exports = { | ||
update_env: function(app) { | ||
// Basic information for your app | ||
app.name = 'My App'; | ||
app.description = 'Powered by Tunapanda Funzo (http://tunapanda.org)' | ||
app.version = '0.0.1'; | ||
app.author = { | ||
name: "Your Name", | ||
email: "[email protected]", | ||
website: "http://yourdomain.com" | ||
}; | ||
|
||
// For a custom logo, place an image in public/assets/custom/logo.png | ||
// and uncomment the next line. | ||
//app.logo = 'assets/custom/logo.png', | ||
|
||
// The key used to encrypt your book content. This can be | ||
// any string, but must match the key specified in the | ||
// book.json for your book, or the app will not be able | ||
// to read it. | ||
app.encryptionKeyBase = 'abc123'; | ||
|
||
// URL of the location from which books can be downloaded | ||
app.bookURLBase = 'http://example.com/books'; | ||
|
||
// Authentication information for an xAPI learning record | ||
// store (e.g. LearningLocker) to which the app can send | ||
// activity reports. | ||
app.xAPI.recordStores = [{ | ||
endpoint: 'https://example.com/lrs', | ||
username: 'XXXX', | ||
password: 'YYYY', | ||
allowFail: false | ||
}]; | ||
// Number of decimal places to get from lat/long values | ||
// 3 decimal places = accuracy to ~ 100 meters | ||
// 2 would be closer to ~ 1km | ||
// More details: http://gis.stackexchange.com/questions/8650/measuring-accuracy-of-latitude-and-longitude | ||
// -1 disables location data in xapi reports | ||
app.xAPI.gps_accuracy: -1; | ||
return app; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.