Repository navigation
feat: macOS 対応 - #48
Merged
Merged
Conversation
flutter create --platforms=macos で生成したファイルのみ。 Co-Authored-By: Claude <noreply@anthropic.com>
外部通信用の network.client と、flutter_secure_storage の既定キーチェーン用の keychain-access-groups を追加。keychain-access-groups はチームでの開発署名を 要するため Runner に Team を設定し、Bundle ID を登録可能な com.librarylibrarian.misskeyAuthExample に変更。 Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
macOS では URL スキームの登録が不要なため、登録先の確認を促す対象を限定。 Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Codex Luna <noreply@openai.com>
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Codex Luna <noreply@openai.com>
Co-Authored-By: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要
macOS 12.0 以降を対応プラットフォームに追加。認証処理(
flutter_web_auth_2/flutter_secure_storageの呼び出し)は変更なし。macOS ではflutter_web_auth_2がASWebAuthenticationSessionを使うため、カスタムスキームのコールバックはInfo.plistへの登録なしで受け取れる。変更内容
pubspec.yamlのplatforms:にmacosを追加、description を更新。CHANGELOG.mdの[Unreleased]に### Addedを追記com.apple.security.network.clientとkeychain-access-groupsを追加keychain-access-groupsはチーム署名が必要なため Runner に Team を設定。macOS の Bundle ID をcom.librarylibrarian.misskeyAuthExampleに変更(iOS は変更なし)SecureTokenStoreの保存先はflutter_secure_storageの既定(Data Protection キーチェーン)のまま。entitlement を使わない代替としてMacOsOptions(usesDataProtectionKeychain: false)を docs に記載accountName)で実行するよう変更.pubignoreに/example/macos/を追加example-macosジョブ(署名なしビルド)を追加し、gate.needsに追加確認
dart format --output=none --set-exit-if-changed ./dart analyze --fatal-infosflutter test(ルート 99件、example 9件)flutter build macos --debug(署名あり /FLUTTER_XCODE_CODE_SIGNING_ALLOWED=NO)、flutter build macos --release(署名あり)codesign -d --entitlements -で Debug / Release の entitlement を確認flutter test integration_test/secure_token_store_test.dart -d macosflutter pub publish --dry-run(警告 0 件、example/macos/は含まれない)docsのビルド(6言語)