Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,20 +29,20 @@
"cordova-plugin-server": {},
"cordova-plugin-ftp": {},
"cordova-plugin-sdcard": {},
"cordova-plugin-iap": {},
"cordova-plugin-advanced-http": {
"ANDROIDBLACKLISTSECURESOCKETPROTOCOLS": "SSLv3,TLSv1"
},
"cordova-plugin-websocket": {},
"cordova-plugin-buildinfo": {},
"cordova-plugin-browser": {},
"cordova-plugin-sftp": {},
"com.foxdebug.acode.rk.exec.proot": {},
"com.foxdebug.acode.rk.exec.terminal": {},
"com.foxdebug.acode.rk.customtabs": {},
"com.foxdebug.acode.rk.plugin.plugincontext": {},
"cordova-plugin-system": {},
"com.foxdebug.acode.rk.auth": {}
"com.foxdebug.acode.rk.auth": {},
"com.foxdebug.acode.rk.exec.proot": {},
"cordova-plugin-iap": {}
},
"platforms": [
"android"
Expand Down
1 change: 1 addition & 0 deletions src/lib/acode.js
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,7 @@ export default class Acode {
view: cmView,
});

this.define("config", config);
Comment thread
RohitKushvaha01 marked this conversation as resolved.
this.define("Url", Url);
this.define("page", Page);
this.define("Color", Color);
Expand Down
1 change: 1 addition & 0 deletions src/lib/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ export default {
TWITTER_URL: "https://x.com/foxbiz_io",
INSTAGRAM_URL: "https://www.instagram.com/foxbiz.io/",
FOXBIZ_URL: "https://foxbiz.io",
IAP_AVAILABLE: typeof iap !== "undefined",

get HAS_PRO() {
return hasPro;
Expand Down
8 changes: 8 additions & 0 deletions utils/scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ if [ "$fdroidFlag" = "fdroid" ]; then
if [ -d "plugins/com.foxdebug.acode.rk.exec.proot" ]; then
cordova plugin remove com.foxdebug.acode.rk.exec.proot
fi

if [ -d "plugins/cordova-plugin-iap" ]; then
cordova plugin remove cordova-plugin-iap
fi
else
if [ -n "$tmpdir" ]; then
echo "false" > "$tmpdir/fdroid.bool"
Expand All @@ -57,6 +61,10 @@ else
if [ -d "src/plugins/proot" ] && [ ! -d "plugins/com.foxdebug.acode.rk.exec.proot" ]; then
cordova plugin add src/plugins/proot/
fi

if [ -d "src/plugins/iap" ] && [ ! -d "plugins/cordova-plugin-iap" ]; then
cordova plugin add src/plugins/iap/
fi
fi


Expand Down