Skip to content

Commit

Permalink
fix(all): change xmlns (#13410)
Browse files Browse the repository at this point in the history
  • Loading branch information
m1ga committed Apr 28, 2022
1 parent d296e02 commit 32c628e
Show file tree
Hide file tree
Showing 12 changed files with 18 additions and 18 deletions.
8 changes: 4 additions & 4 deletions android/cli/commands/_build.js
Expand Up @@ -1074,7 +1074,7 @@ AndroidBuilder.prototype.validate = function validate(logger, config, cli) {
logger.log();
logger.warn(__('%s has been deprecated, please specify the target SDK API using the %s tag:', '<tool-api-level>'.cyan, '<uses-sdk>'.cyan));
logger.warn();
logger.warn('<ti:app xmlns:ti="http://ti.appcelerator.org">'.grey);
logger.warn('<ti:app xmlns:ti="http://ti.tidev.io">'.grey);
logger.warn(' <android>'.grey);
logger.warn(' <manifest>'.grey);
logger.warn((' <uses-sdk android:minSdkVersion="' + this.minSupportedApiLevel + '" android:targetSdkVersion="' + this.minTargetApiLevel + '" android:maxSdkVersion="' + this.maxSupportedApiLevel + '"/>').magenta);
Expand Down Expand Up @@ -1109,7 +1109,7 @@ AndroidBuilder.prototype.validate = function validate(logger, config, cli) {
)
);
logger.log();
logger.log('<ti:app xmlns:ti="http://ti.appcelerator.org">'.grey);
logger.log('<ti:app xmlns:ti="http://ti.tidev.io">'.grey);
logger.log(' <android>'.grey);
logger.log(' <manifest>'.grey);
logger.log((' <uses-sdk '
Expand All @@ -1136,7 +1136,7 @@ AndroidBuilder.prototype.validate = function validate(logger, config, cli) {
)
);
logger.log();
logger.log('<ti:app xmlns:ti="http://ti.appcelerator.org">'.grey);
logger.log('<ti:app xmlns:ti="http://ti.tidev.io">'.grey);
logger.log(' <android>'.grey);
logger.log(' <manifest>'.grey);
logger.log((' <uses-sdk '
Expand Down Expand Up @@ -1311,7 +1311,7 @@ AndroidBuilder.prototype.validate = function validate(logger, config, cli) {

logger.log(__('You need to add at least one of the device\'s supported ABIs to the tiapp.xml'));
logger.log();
logger.log('<ti:app xmlns:ti="http://ti.appcelerator.org">'.grey);
logger.log('<ti:app xmlns:ti="http://ti.tidev.io">'.grey);
logger.log(' <!-- snip -->'.grey);
logger.log(' <android>'.grey);
logger.log((' <abi>' + this.abis.concat(device.abi).join(',') + '</abi>').magenta);
Expand Down
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<ti:module xmlns:ti="http://ti.appcelerator.org" xmlns:android="http://schemas.android.com/apk/res/android">
<ti:module xmlns:ti="http://ti.tidev.io" xmlns:android="http://schemas.android.com/apk/res/android">
<!--
Similar to tiapp.xml, but contains module/platform specific
configuration in <iphone> and <android> sections
Expand Down
2 changes: 1 addition & 1 deletion apidoc/Titanium/App/Properties/Properties.yml
Expand Up @@ -13,7 +13,7 @@ description: |
``` xml
<?xml version="1.0" encoding="UTF-8"?>
<ti:app xmlns:ti="http://ti.appcelerator.org">
<ti:app xmlns:ti="http://ti.tidev.io">
<property name="foo" type="string">42</property>
</ti:app>
```
Expand Down
2 changes: 1 addition & 1 deletion apidoc/Titanium/CHANGELOG/3.2.0.GA.mdoc
Expand Up @@ -717,7 +717,7 @@ The following issues are known with this release.
**Issue animating view's height and width on Samsung S3** -- On a Samsung S3, animating a view's height and width may produce unexpected results ([TIMOB-15719](https://jira-archive.titaniumsdk.com/TIMOB-15719)). To workaround this issue, enable hardware acceleration in the `<application/>` element of the Android manifest in your project's tiapp.xml file:

```
<ti:app xmlns:ti="http://ti.appcelerator.org">
<ti:app xmlns:ti="http://ti.tidev.io">
<android xmlns:android="http://schemas.android.com/apk/res/android">
<manifest>
<application android:hardwareAccelerated="true">
Expand Down
2 changes: 1 addition & 1 deletion apidoc/Titanium/Platform/Platform.yml
Expand Up @@ -34,7 +34,7 @@ methods:
this [here](https://developer.android.com/preview/privacy/package-visibility).
```xml
<ti:app xmlns:ti="http://ti.appcelerator.org">
<ti:app xmlns:ti="http://ti.tidev.io">
<android>
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<queries>
Expand Down
8 changes: 4 additions & 4 deletions iphone/cli/commands/_build.js
Expand Up @@ -1692,7 +1692,7 @@ iOSBuilder.prototype.initTiappSettings = function initTiappSettings() {
} else {
logger.error(__('iOS extension "%s" target "%s" is missing the %s provisioning profile UUID in tiapp.xml.', projectName, '<' + cli.argv.target + '>', targetName));
logger.log();
logger.log('<ti:app xmlns:ti="http://ti.appcelerator.org">'.grey);
logger.log('<ti:app xmlns:ti="http://ti.tidev.io">'.grey);
logger.log(' <ios>'.grey);
logger.log(' <extensions>'.grey);
logger.log((' <extension projectPath="' + ext.origProjectPath + '">').grey);
Expand Down Expand Up @@ -2109,7 +2109,7 @@ iOSBuilder.prototype.validate = function validate(logger, config, cli) {
logger.log(' ' + id.cyan);
});
logger.log();
logger.log('<ti:app xmlns:ti="http://ti.appcelerator.org">'.grey);
logger.log('<ti:app xmlns:ti="http://ti.tidev.io">'.grey);
logger.log(' <ios>'.grey);
logger.log(' <team-id>TEAM ID</team-id>'.magenta);
logger.log(' </ios>'.grey);
Expand Down Expand Up @@ -2152,7 +2152,7 @@ iOSBuilder.prototype.validate = function validate(logger, config, cli) {
logger.log(__('The device is running iOS %s, however the app\'s the minimum iOS version is set to %s', device.productVersion.cyan, version.format(this.minIosVer, 2, 3).cyan));
logger.log(__('In order to install this app on this device, lower the %s to %s in the tiapp.xml:', '<min-ios-ver>'.cyan, version.format(device.productVersion, 2, 2).cyan));
logger.log();
logger.log('<ti:app xmlns:ti="http://ti.appcelerator.org">'.grey);
logger.log('<ti:app xmlns:ti="http://ti.tidev.io">'.grey);
logger.log(' <ios>'.grey);
logger.log((' <min-ios-ver>' + version.format(device.productVersion, 2, 2) + '</min-ios-ver>').magenta);
logger.log(' </ios>'.grey);
Expand Down Expand Up @@ -4410,7 +4410,7 @@ iOSBuilder.prototype.writeInfoPlist = function writeInfoPlist() {
this.logger.error(__('The <iphone> section of the tiapp.xml has been removed in Titanium SDK 7.0.0 and later.'));
this.logger.log(__('Please use the <ios> section of the tiapp.xml to specify iOS-specific values instead:'));
this.logger.log();
this.logger.log('<ti:app xmlns:ti="http://ti.appcelerator.org">'.grey);
this.logger.log('<ti:app xmlns:ti="http://ti.tidev.io">'.grey);
this.logger.log(' <ios>'.grey);
this.logger.log(' <plist>'.grey);
this.logger.log(' <dict>'.grey);
Expand Down
2 changes: 1 addition & 1 deletion iphone/templates/module/default/template/ios/timodule.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<ti:module xmlns:ti="http://ti.appcelerator.org" xmlns:android="http://schemas.android.com/apk/res/android">
<ti:module xmlns:ti="http://ti.tidev.io" xmlns:android="http://schemas.android.com/apk/res/android">
<!--
Similar to tiapp.xml, but contains module/platform specific
configuration in <iphone> and <android> sections
Expand Down
2 changes: 1 addition & 1 deletion templates/app/angular-default/template/tiapp.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<ti:app xmlns:ti="http://ti.appcelerator.org">
<ti:app xmlns:ti="http://ti.tidev.io">
<id>__PROJECT_ID__</id>
<name>__PROJECT_NAME__</name>
<version>__PROJECT_VERSION__</version>
Expand Down
2 changes: 1 addition & 1 deletion templates/app/default/template/tiapp.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<ti:app xmlns:ti="http://ti.appcelerator.org">
<ti:app xmlns:ti="http://ti.tidev.io">
<id>__PROJECT_ID__</id>
<name>__PROJECT_NAME__</name>
<version>__PROJECT_VERSION__</version>
Expand Down
2 changes: 1 addition & 1 deletion templates/app/webpack-default/template/tiapp.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<ti:app xmlns:ti="http://ti.appcelerator.org">
<ti:app xmlns:ti="http://ti.tidev.io">
<id>__PROJECT_ID__</id>
<name>__PROJECT_NAME__</name>
<version>__PROJECT_VERSION__</version>
Expand Down
2 changes: 1 addition & 1 deletion tests/modules-source/ti.modulesdk920/android/timodule.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<ti:module xmlns:ti="http://ti.appcelerator.org" xmlns:android="http://schemas.android.com/apk/res/android">
<ti:module xmlns:ti="http://ti.tidev.io" xmlns:android="http://schemas.android.com/apk/res/android">
<android xmlns:android="http://schemas.android.com/apk/res/android">
</android>
</ti:module>
2 changes: 1 addition & 1 deletion tests/modules-source/ti.modulesdk920/ios/timodule.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<ti:module xmlns:ti="http://ti.appcelerator.org" xmlns:android="http://schemas.android.com/apk/res/android">
<ti:module xmlns:ti="http://ti.tidev.io" xmlns:android="http://schemas.android.com/apk/res/android">
<!--
Similar to tiapp.xml, but contains module/platform specific
configuration in <iphone> and <android> sections
Expand Down

0 comments on commit 32c628e

Please sign in to comment.