New · WordPress plugin · open source soon
Clean Mobile Connect
The go-between for WordPress and your phone – starting with Apple Wallet cards that update themselves on every iPhone.
- GPL-2.0
- WordPress 6.4+
- PHP 8.0+
- Multisite
Why a go-between?
A card in Apple Wallet, a notification on your phone, a profile for Wi-Fi: behind all of these are certificates, signatures and a connection to Apple's push service. If every plugin sets that up on its own, you end up with three certificates in three places – and none of them expires in time without anyone noticing.
Clean Mobile Connect keeps all of that in one place and makes it available to other plugins through a small interface. Signing happens on your own server, with no third-party service in between. The first module is cards for Apple Wallet – Clean Short Links and Clean Mailings already use it.
Apple Wallet cards with image, link and QR code
Changes reach every issued card automatically
Share via QR code, NFC, message or AirDrop
Signed on your own server – the certificate stays with you
Wallet cards
- Four styles: generic card, store card, event ticket and coupon – with title, subtitle, up to three fields, back side, link and QR code. The image sits wherever the style puts it.
- Preview while editing: The card is built exactly as it will look on the iPhone later. Icon, logo and colors apply to the whole network – and also change on cards that have already been handed out.
- Cards that keep up: The built-in update service pushes every change to the iPhones, optionally with a notification on the lock screen. Ended cards are grayed out in Wallet.
- For yourself and for guests: You can download a card yourself or share it via a guest address. The guest page shows the card with “Add to Apple Wallet” – with a QR code on Android and on computers – and kindly explains when a card has expired or ended.
- Apple's badges in every language: The ZIP file with the official “Add to Apple Wallet” badges is uploaded once; every website then shows the right one in its language and in the color that suits the background – in emails too.
- Expiry dates and events: a “valid until” for coupons, a date when event tickets show up on the lock screen, duplicating, and a filter for active, disabled, expired and ended cards.
- For other plugins: Plugins create their own cards through a small interface. That's how Clean Short Links puts a short link with stats on the card, and Clean Mailings the reminder for an event – without data being stored twice.
- Made for networks: one Apple certificate for the whole network, cards per website.
- Bilingual: in English and German.
What's coming next
Wallet is just the beginning. Planned are browser notifications for readers, push for your own apps, Wi-Fi or VPN profiles behind a personal link, Google Wallet, “Add to Calendar” and business cards. Later, Clean Passkeys is supposed to use it to let you confirm sign-ins on your phone.
Privacy
Per card and device, only an anonymous device ID and a push token are stored. The only thing that leaves the server is the push message to Apple's push service, nothing else. A suggested privacy policy text is included, and uninstalling removes all data.
Where things stand
Clean Mobile Connect is brand new and still below version 1.0. It runs across the entire Couch Blog network and has been tested on real iPhones – from adding a card via NFC to switching the card style. The source code will be public on GitHub soon.
How to get it
Clean Mobile Connect is free under the GPL. Requirements are WordPress 6.4 or later, PHP 8.0 or later with OpenSSL, Zip and cURL, a secure connection (HTTPS) and a membership in the Apple Developer Program for the certificate.
- The current version will be available for download soon. Until the source code is public, I'm happy to send it on request – via the contact page.
- In WordPress, under
Plugins → Add New → Upload Plugininstall and activate it – in a network, ideally network-wide. - Under
Settings → Mobile Connectadd the Apple certificate, then underMobile Connect → Wallet cardscreate your first card.
Get involved
Found a bug or have an idea for another module? Feel free to write me via the contact page. Please report security vulnerabilities confidentially by email, not publicly.
Apple, Apple Wallet and iPhone are trademarks of Apple Inc. Clean Mobile Connect is not an Apple product and is not endorsed by Apple.