Fix iOS contact copy function #154

Open
jose wants to merge 8 commits from ios-contact-copy into master
jose commented 3 weeks 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 3 weeks ago
c18a6b334f Added: native clipboard service
c3bd22fb83 Fix: iOS copy function
jose changed target branch from build-improvement to master 1 week ago
jose changed title from Fix iOS contact copy function to WIP: Fix iOS contact copy function 1 week ago
jose added 2 commits 1 week ago
jose added 1 commit 1 week ago
jose changed title from WIP: Fix iOS contact copy function to Fix iOS contact copy function 1 week ago
trentlarson reviewed 4 days 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 4 days 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 4 days ago
jose added 1 commit 4 days ago
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
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.