owncloud / ios-app

📱The all-new iOS app for ownCloud
https://owncloud.org/news/new-ios-app-ready-public-app-store/
GNU General Public License v3.0
212 stars 121 forks source link

Migration from legacy iOS App II (Inter-app) #678

Open mneuwert opened 4 years ago

mneuwert commented 4 years ago

This is a follow up #270 which covered the migration during the update when bundle ID remains same. This one covers the scenario when data (settings, accounts) is transferred between two apps.

Unbranded ==> Inter-App Migration

Singleaccount / Multiaccount

Basic Auth ==> Basic Auth

Basic Auth ==> OAuth 2.0 (in case oauth2 enabled on server)

OAuth 2.0 ==> OAuth 2.0

Multiaccount: Indicator that user interaction is required? (in list AND on login page with explanation)

Basic Auth:

Extended Error Message (App Passwort, 2FA => Better use OAuth 2.0)

===== ===== ===== ===== =====

Needed Data

Accounts URL Method Name Username

Recognize new iOS-App

Check via URL-Scheme?

Unlock 1 IaP with old iOS app

How to Import Data

Plist Key-Value Sharing Keychain-Sharing

What about different App Store accounts ??

mneuwert commented 4 years ago

Clarification

How to import data

Since the apps live in different developer accounts, we can't neither establish a shared app group nor create shared iCloud container where we could use the key-value store. So, if I am not overlooking anything we could only use good old open-app with registered URL scheme.

Proposal

migration_part2

Open questions

Notes