From b3256959bf84a6fb2e3e86554cdc0867f0d533c3 Mon Sep 17 00:00:00 2001 From: Ewan Harris Date: Wed, 2 Mar 2022 14:51:27 +0000 Subject: [PATCH] refactor: remove ti.cloud and ti.cloudpush (#13289) These modules are not relevant given end of support from Axway --- support/module/packaged/modules.json | 8 -------- tests/Resources/app.js | 1 - tests/Resources/ti.cloudpush.test.js | 21 --------------------- tests/modules/modules.xml | 1 - 4 files changed, 31 deletions(-) delete mode 100644 tests/Resources/ti.cloudpush.test.js diff --git a/support/module/packaged/modules.json b/support/module/packaged/modules.json index 566269d510f..0d11567672e 100644 --- a/support/module/packaged/modules.json +++ b/support/module/packaged/modules.json @@ -34,10 +34,6 @@ "url": "https://github.com/appcelerator-modules/ti.facebook/releases/download/v11.0.2-android/facebook-android-11.0.2.zip", "integrity": "sha512-INcD9X+KvAapc8ZRHZVWU5fHAulhzjRysXQv3uCstAj6Xa7Ka7dFlO9pWn9DC58v1q1FlfjG/5kKxhJ/q+sdLg==" }, - "ti.cloudpush": { - "url": "https://appcelerator-modules.s3.amazonaws.com/ti.cloudpush-android-8.0.0.zip", - "integrity": "sha512-hJnDgcMOL3QxZbBa0OpQwB8rhj//0ZbTVvWZM+gky9uiRmaZub6dTnXYTdnPdEM8KqAiJf2BFctBJjGGs+MXkw==" - }, "ti.map": { "url": "https://github.com/appcelerator-modules/ti.map/releases/download/v5.3.3-android/ti.map-android-5.3.3.zip", "integrity": "sha512-03uYbo7Y7oSHLQFUayJjAqSd/7ACWo9zf7xNEWxjM8UpnFp8Jdld0qhSNtU4j9LZuOArF9KP8HLbInW5BwEcag==" @@ -56,10 +52,6 @@ } }, "commonjs": { - "ti.cloud": { - "url": "https://github.com/appcelerator-modules/ti.cloud/releases/download/3.2.11/ti.cloud-commonjs-3.2.11.zip", - "integrity": "sha512-QL0mbMwNIigmXimPVaBzckIJizQyoMpvAkotqh2FSv9NkqTGhK2DtQ3rKpDTKNgxyRU607brE3grc0L30bRlMQ==" - } }, "hyperloop": { "hyperloop": { diff --git a/tests/Resources/app.js b/tests/Resources/app.js index 8f15162bdaf..7d665dfe915 100644 --- a/tests/Resources/app.js +++ b/tests/Resources/app.js @@ -203,7 +203,6 @@ function loadTests() { } require('./ti.xml.test'); // Modules - require('./ti.cloudpush.test'); require('./ti.map.test'); require('./ti.modulesdk920.test'); if (OS_ANDROID) { diff --git a/tests/Resources/ti.cloudpush.test.js b/tests/Resources/ti.cloudpush.test.js deleted file mode 100644 index 683e3746102..00000000000 --- a/tests/Resources/ti.cloudpush.test.js +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Appcelerator Titanium Mobile - * Copyright (c) 2019-2020 by Axway, Inc. All Rights Reserved. - * Licensed under the terms of the Apache Public License - * Please see the LICENSE included with this distribution for details. - */ -/* eslint-env mocha */ -/* eslint no-unused-expressions: "off" */ -'use strict'; -const should = require('./utilities/assertions'); // eslint-disable-line no-unused-vars - -describe.android('ti.cloudpush', () => { - // FIXME: Need to set up firebase on test app? - it.androidBroken('retrieveDeviceToken()', finish => { - const CloudPush = require('ti.cloudpush'); - CloudPush.retrieveDeviceToken({ - success: () => finish(), - error: () => finish(new Error('could not retreive device token')) - }); - }); -}); diff --git a/tests/modules/modules.xml b/tests/modules/modules.xml index c49254c7d8f..efa859f0307 100644 --- a/tests/modules/modules.xml +++ b/tests/modules/modules.xml @@ -11,7 +11,6 @@ ti.identity ti.identity ti.playservices - ti.cloudpush