Questions tagged [amplify-ios]
11 questions
10
votes
2 answers
Amplify CreateApp Permission
My goal is to finish initialising amplify on my Xcode project with amplify init command. In process of initialising amplify after I choose profile I get an AccessDeniedException.
Here is the whole error:
init failed
AccessDeniedException: User:…

lacefarin
- 1,018
- 2
- 13
- 18
10
votes
0 answers
How to store relational (one to many or many to one) data with Amplify iOS (AppSync)?
today checking some of the amplify documentation (I know this one says it is a preview in the iOS scenario) but I have ran into a road block.
Assumptions
Amplify is correctly configured in my iOS project. I can push data to Person and query the…

rodrigoelp
- 2,550
- 1
- 19
- 29
2
votes
1 answer
Amplify ios signin with custom flow
I am trying to implement a custom signin flow using amplify ios library and cognito.
The flow is based on this passwordless implementation https://github.com/mobilequickie/amplify-passwordless-sms-auth/tree/68152489152e1fc4c3185f4e5e3383639bdc8285,…

user3849960
- 120
- 2
- 11
1
vote
1 answer
How to add expected version for a forked and modified public pod?
I need to use Amazon's Amplify iOS pod, but because of certain application extension-unsafe code in the pod, I need to modify that code if I want to publish my app.
What I've done is:
Forked https://github.com/aws-amplify/amplify-ios into my own…

CodeBloke
- 71
- 6
1
vote
0 answers
Amplify.Auth.getCurrentUser() always nil after upgrade to iOS14.5 (AWS Amplify iOS)
I am using aws Amplify-iOS to develop iOS app, and get a problem after upgrapded to iOS14.5
Amplify.Auth.getCurrentUser() always be nil after upgrade to iOS14.5 (AWS Amplify iOS)
Same source code that runing on iOS14.4.2 is just fine.
macOS Big…

softjapan
- 21
- 3
0
votes
0 answers
Couldn't read the region / Failed to read Region from AWSConfiguration
I have started AWSMobileClient and Amplify on my ios app, configured with awsconfiguration.json file. But the log showing like
Couldn't read the region configuration from awsconfiguration.json / Info.plist. Please check your configuration file if…

SHARON D ROSE BE
- 55
- 7
0
votes
1 answer
What is the best practice for querying an AWS Amplify GraphQL/DynamoDB database for changes since your last query?
I have an iOS AWS Amplify Project using GraphQL API and DynamoDB to store data. This is a chat app.
Initially when a user signs in he will get all messages for a conversation. If then he comes back to the app a few days later I want to update any…

alionthego
- 8,508
- 9
- 52
- 125
0
votes
1 answer
AWS Amplify iOS: what is the most reliable way to find if a user is logged in
Is it ok to check
Amplify.Auth.getCurrentUser() != nil
or should the app maintain a state variable and set that from this listener?
_ = Amplify.Hub.listen(to: .auth) { payload in
switch payload.eventName {
case…

rysv
- 2,416
- 7
- 30
- 48
0
votes
1 answer
AWS iOS cloudwatch describeLogStreams uploadsequencetoken empty
Earlier was getting access denied for describeLogStreams and after adding the necessary policy got that fixed but now there is response but uploadSequenceToken (and nextToken) are empty.
AWSLogs.default().describeLogStreams(req!) { (response,…

rysv
- 2,416
- 7
- 30
- 48
0
votes
3 answers
How to get http status and detailed response from an API in AWS using the Amplify framework?
In my AWS project, I created webservices using Lambda and API Gateway.
Those webservices are called by my iOS app, using the Amplify framework.
In my lambda functions:
I return something like the following when there is no error:
return {
…

matteoh
- 2,810
- 2
- 29
- 54
-1
votes
1 answer
Flutter Amplify with SAML
https://docs.amplify.aws/lib/auth/signin_web_ui/q/platform/flutter#ios-platform-setup
Im trying to find out if its possible to use SAML with Flutter Amplify plugin
I only see documentation on how to do this with native iOS and Android
How would this…

Derek Hannah
- 537
- 7
- 23