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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ PasswordMaker.apk

# Or iOS profile
PasswordMaker_App_Store_provisioning.mobileprovision
PasswordMaker_ShareExtension_store_provisioning.mobileprovision

*~
*.sw[mnpcod]
Expand Down
1 change: 1 addition & 0 deletions android/app/capacitor.build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ dependencies {
implementation project(':capacitor-haptics')
implementation project(':capacitor-keyboard')
implementation project(':capacitor-status-bar')
implementation project(':capgo-capacitor-share-target')
implementation "androidx.webkit:webkit:1.4.0"
}

Expand Down
5 changes: 5 additions & 0 deletions android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.SEND" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="text/*" />
</intent-filter>
</activity>

<provider
Expand Down
4 changes: 4 additions & 0 deletions android/app/src/main/assets/capacitor.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
"scheme": "Webful PasswordMaker"
},
"plugins": {
"CapacitorShareTarget": {
"appGroupId": "group.urlshare.uk.webful.passwordmaker"
},
"CapacitorSQLite": {
"iosDatabaseLocation": "Library/CapacitorDatabase",
"iosIsEncryption": true,
Expand All @@ -39,6 +42,7 @@
"imageName": "Splashscreen"
},
"StatusBar": {
"backgroundColor": "#a11692",
"style": "LIGHT",
"overlaysWebView": false
},
Expand Down
4 changes: 4 additions & 0 deletions android/app/src/main/assets/capacitor.plugins.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,9 @@
{
"pkg": "@capacitor/status-bar",
"classpath": "com.capacitorjs.plugins.statusbar.StatusBarPlugin"
},
{
"pkg": "@capgo/capacitor-share-target",
"classpath": "app.capgo.sharetarget.CapacitorShareTargetPlugin"
}
]
3 changes: 3 additions & 0 deletions android/capacitor.settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,6 @@ project(':capacitor-keyboard').projectDir = new File('../node_modules/@capacitor

include ':capacitor-status-bar'
project(':capacitor-status-bar').projectDir = new File('../node_modules/@capacitor/status-bar/android')

include ':capgo-capacitor-share-target'
project(':capgo-capacitor-share-target').projectDir = new File('../node_modules/@capgo/capacitor-share-target/android')
4 changes: 4 additions & 0 deletions capacitor.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ const config: CapacitorConfig = {
scheme: 'Webful PasswordMaker',
},
plugins: {
CapacitorShareTarget: {
appGroupId: "group.urlshare.uk.webful.passwordmaker",
},
CapacitorSQLite: {
iosDatabaseLocation: 'Library/CapacitorDatabase',
iosIsEncryption: true,
Expand Down Expand Up @@ -46,6 +49,7 @@ const config: CapacitorConfig = {
// and also keeps the statusbar purple to emulate edge-to-edge; this seems to
// be the least bad option for now to at least keep it in a default system
// style and legible.
backgroundColor: '#a11692', // Seems useful on modern iOS still
style: 'LIGHT',
overlaysWebView: false,
},
Expand Down
6 changes: 6 additions & 0 deletions doc/Development.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,12 @@ We currently run:
* _Product > Archive_
* _Distribute App_ from the Organizer dialogue.

## iOS provisioning profiles

It's necessary to use manual ones on the individual team with no real iPhones.
These are git-ignored and a distinct one is needed for the main app and for the
`ShareExtension`. Both require the App Groups capability.

## Plugins

In addition to the Ionic-standard Capacitor plugins and Clipboard (for copying passwords),
Expand Down
Loading
Loading