Skip to content

Commit

Permalink
Merge pull request #567 from eb1/master
Browse files Browse the repository at this point in the history
Fix #558
  • Loading branch information
eb1 authored Mar 1, 2024
2 parents aa1293e + 2ba008b commit 0436f50
Show file tree
Hide file tree
Showing 10 changed files with 141,619 additions and 70,904 deletions.
2 changes: 1 addition & 1 deletion config.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version='1.0' encoding='utf-8'?>
<widget android-versionCode="51" defaultlocale="en" id="org.adaptit.adaptitmobile" ios-CFBundleVersion="1" version="1.15.2" xmlns="http://www.w3.org/ns/widgets" xmlns:android="http://schemas.android.com/apk/res/android" xmlns:cdv="http://cordova.apache.org/ns/1.0" xmlns:gap="http://phonegap.com/ns/1.0">
<widget android-versionCode="52" defaultlocale="en" id="org.adaptit.adaptitmobile" ios-CFBundleVersion="1" version="1.16.0" xmlns="http://www.w3.org/ns/widgets" xmlns:android="http://schemas.android.com/apk/res/android" xmlns:cdv="http://cordova.apache.org/ns/1.0" xmlns:gap="http://phonegap.com/ns/1.0">
<name short="Adapt It Mobile" xml:lang="en">Adapt It Mobile</name>
<description xml:lang="en">
An open source application for translating between related languages.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "adapt-it-mobile",
"version": "1.15.0",
"version": "1.16.0",
"description": "Adapt It Mobile",
"repository": {
"type": "git",
Expand Down
3 changes: 3 additions & 0 deletions scripts/before-build.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
const fs = require('fs');
const cp = require('child_process');
const path = require('path');

module.exports = function(ctx) {
// Android / iOS -- minify and copy over the langtags.js file
// cp.exec('terser langtags.js -o ../www/lib/langtags.min.js');
// Android -- copy the build-extras.gradle file into the app directory so it gets run
if (ctx.opts.platforms.includes('android')) {
fs.copyFile(path.join(ctx.opts.projectRoot, 'scripts/build-extras.gradle'), path.join(ctx.opts.projectRoot, 'platforms/android/app/build-extras.gradle'), (err) => {
Expand Down
Loading

0 comments on commit 0436f50

Please sign in to comment.