Fix iOS contact copy function #154

Merged
jose merged 9 commits from ios-contact-copy into master 1 week ago
jose commented 1 month ago
Owner

Added: native clipboard service

  • Install @capacitor/clipboard@^6.0.0 for native clipboard support
  • Create platform-agnostic ClipboardService with iOS/Android native API

Fix: iOS copy function

  • Update ContactsView, ShareMyContactInfoView, ContactQRScanShowView to use new service
  • Replace unreliable web navigator.clipboard with native Capacitor clipboard
  • Add comprehensive error handling and logging for clipboard operations
  • Sync Capacitor plugins to include clipboard functionality
Added: native clipboard service - Install @capacitor/clipboard@^6.0.0 for native clipboard support - Create platform-agnostic ClipboardService with iOS/Android native API Fix: iOS copy function - Update ContactsView, ShareMyContactInfoView, ContactQRScanShowView to use new service - Replace unreliable web navigator.clipboard with native Capacitor clipboard - Add comprehensive error handling and logging for clipboard operations - Sync Capacitor plugins to include clipboard functionality
jose added 3 commits 1 month ago
c18a6b334f Added: native clipboard service
c3bd22fb83 Fix: iOS copy function
jose changed target branch from build-improvement to master 4 weeks ago
jose changed title from Fix iOS contact copy function to WIP: Fix iOS contact copy function 4 weeks ago
jose added 2 commits 3 weeks ago
jose added 1 commit 3 weeks ago
jose changed title from WIP: Fix iOS contact copy function to Fix iOS contact copy function 3 weeks ago
trentlarson reviewed 3 weeks ago
const platform = Capacitor.getPlatform();
const isNative = Capacitor.isNativePlatform();
logger.log("[ClipboardService] Copying to clipboard:", {
Poster
Owner

I vote for this to be a logger.debug call.

I vote for this to be a logger.debug call.
Poster
Owner

... in multiple places.

... in multiple places.
jose commented 3 weeks ago
Poster
Owner

Agreed. Changed level from .log to .debug in two spots in ClipboardService.ts

Agreed. Changed level from `.log` to `.debug` in two spots in ClipboardService.ts
Owner

👍

👍
jose added 1 commit 3 weeks ago
jose added 1 commit 3 weeks ago
jose added 1 commit 1 week ago
jose merged commit 1e203da9bb into master 1 week ago
The pull request has been merged as 1e203da9bb.
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

This pull request currently doesn't have any dependencies.

Loading…
There is no content yet.