Skip to content
Open
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
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ amplify_outputs*.dart
# Smithy
.smithy.lsp.log

# Swift Package Manager
.build/
.swiftpm/

# Custom Actions output
**/*.cjs.deps
.flutter-plugins-dependencies
5 changes: 4 additions & 1 deletion packages/auth/amplify_auth_cognito/darwin/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
*.swp
profile

.build/
.swiftpm/

DerivedData/
build/
GeneratedPluginRegistrant.h
Expand Down Expand Up @@ -34,4 +37,4 @@ Icon?
.tags*

/Flutter/Generated.xcconfig
/Flutter/flutter_export_environment.sh
/Flutter/flutter_export_environment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Pod::Spec.new do |s|
s.license = 'Apache License, Version 2.0'
s.author = { 'Amazon Web Services' => 'amazonwebservices' }
s.source = { :git => 'https://github.com/aws-amplify/amplify-flutter.git' }
s.source_files = 'Classes/**/*'
s.source_files = 'amplify_auth_cognito/Sources/amplify_auth_cognito/**/*.swift'

s.ios.dependency 'Flutter'
s.osx.dependency 'FlutterMacOS'
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
// swift-tools-version: 5.9
// The swift-tools-version declares the minimum version of Swift required to build this package.

// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0

import PackageDescription

let package = Package(
name: "amplify_auth_cognito",
platforms: [
.iOS("13.0"),
.macOS("10.15")
],
products: [
.library(name: "amplify-auth-cognito", targets: ["amplify_auth_cognito"])
],
dependencies: [
.package(name: "FlutterFramework", path: "../FlutterFramework")
],
targets: [
.target(
name: "amplify_auth_cognito",
dependencies: [
.product(name: "FlutterFramework", package: "FlutterFramework")
],
resources: [
// TODO: If your plugin requires a privacy manifest
// (e.g. if it uses any required reason APIs), update the PrivacyInfo.xcprivacy file
// to describe your plugin's privacy impact, and then uncomment this line.
// For more information, see:
// https://developer.apple.com/documentation/bundleresources/privacy_manifest_files
// .process("PrivacyInfo.xcprivacy"),
]
)
]
)
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
),
kotlinOut:
'android/src/main/kotlin/com/amazonaws/amplify/amplify_auth_cognito/pigeons/NativeAuthPluginBindingsPigeon.kt',
swiftOut: 'darwin/classes/pigeons/messages.g.swift',
swiftOut:
'darwin/amplify_auth_cognito/Sources/amplify_auth_cognito/messages.g.swift',
),
)
library;
Expand Down
Loading