Skip to content

Commit

Permalink
- added action extension
Browse files Browse the repository at this point in the history
- fixed wrong emm identifier
  • Loading branch information
hosy committed Nov 21, 2023
1 parent 7088b19 commit 34c751c
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
10 changes: 10 additions & 0 deletions enterprise/register/registerOwncloudApp.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
#!/usr/bin/env ruby

# Copyright (C) 2023, ownCloud GmbH.
#
# This code is covered by the GNU Public License Version 3.
#
# For distribution utilizing Apple mechanisms please see https://owncloud.org/contribute/iOS-license-exception/
# You should have received a copy of this license along with this program. If not, see <http://www.gnu.org/licenses/gpl-3.0.en.html>.

# Version 1.1.0

require 'spaceship'

class AppRegistration
Expand Down Expand Up @@ -304,3 +313,4 @@ def prepareProfile(bundle_id, profileFilename, cert)
register.prepareAppID("File Provider UI", "FileProviderUI.mobileprovision", groups, registrationType, "#{bundlePrefix}.ios-app.ownCloud-File-ProviderUI", cert)
register.prepareAppID("Intent", "Intent.mobileprovision", groups, registrationType, "#{bundlePrefix}.ios-app.ownCloud-Intent", cert)
register.prepareAppID("ShareExtension", "ShareExtension.mobileprovision", groups, registrationType,"#{bundlePrefix}.ios-app.ownCloud-Share-Extension", cert)
register.prepareAppID("ActionExtension", "ActionExtension.mobileprovision", groups, registrationType,"#{bundlePrefix}.ios-app.ownCloud-Action-Extension", cert)
3 changes: 3 additions & 0 deletions enterprise/resign/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ This script allows you to resign the ownCloud App IPA file with a different Appl

- `com.yourcompany.ios-app.ownCloud-Share-Extension`

- `com.yourcompany.ios-app.ownCloud-Action-Extension`

2. Generate one App Group:

- `group.com.yourcompany.ios-app`
Expand Down Expand Up @@ -51,6 +53,7 @@ Create a text file containing a list of line-break separated domain names (FQN)
- `FileProviderUI.mobileprovision`
- `Intent.mobileprovision`
- `ShareExtension.mobileprovision`
- `ActionExtension.mobileprovision`

5. Execute the script

Expand Down
4 changes: 2 additions & 2 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -286,8 +286,8 @@ platform :ios do
ENTERPRISE_INTENT_PROFILE: "match AppStore com.owncloud.ios-app.emm.ownCloud-Intents",
ENTERPRISE_SHARE_EXTENSION_ID: "com.owncloud.ios-app.emm.ownCloud-Share-Extension",
ENTERPRISE_SHARE_EXTENSION_PROFILE: "match AppStore com.owncloud.ios-app.emm.ownCloud-Share-Extension",
ENTERPRISE_ACTION_EXTENSION_ID: "com.owncloud.ios-app.ownCloud-Action-Extension",
ENTERPRISE_ACTION_EXTENSION_PROFILE: "match AppStore com.owncloud.ios-app.ownCloud-Action-Extension",
ENTERPRISE_ACTION_EXTENSION_ID: "com.owncloud.ios-app.emm.ownCloud-Action-Extension",
ENTERPRISE_ACTION_EXTENSION_PROFILE: "match AppStore com.owncloud.ios-app.emm.ownCloud-Action-Extension",
ENTERPRISE_APP_FW_ID: "com.owncloud.ownCloudApp.emm",
ENTERPRISE_TEAM: "4AP2STM4H5",
ENTERPRISE_IDENTITY: "Apple Distribution: ownCloud GmbH (4AP2STM4H5)",
Expand Down

0 comments on commit 34c751c

Please sign in to comment.