Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    camilobern
    @camilobern
    I'm using Cognito with Amplify on a React app
    camilobern
    @camilobern
    @HaitianZhuu you would use the amplify-cli to configure amplify and to create aws services corresponding to said configuration.
    Haitian Zhu
    @HaitianZhuu
    @camilobern thx. I notice I can create user pool and identity pool in aws website directly and lot of config there. So I just wonder if cli is a optional choice? It only help me to create awsconfiguration.json? Can I create this file manually and dont use cli, only paste my user pool and identity id to this file?
    Sumit Vekariya
    @sumitvekariya

    I am getting this error, while building my Angular app for SSR, and this line is from chatbot component inside interactions module, which I am not even using

    var workerUrl = URL.createObjectURL(blob);
    ^

    TypeError: Cannot read property 'createObjectURL' of undefined

    Is there anyway to get rid of it?

    haquemdfaizul
    @haquemdfaizul
    @dnewcome-eu To display a sign-out button or customize other, set includeGreetings = true in the parameter object. It displays a greetings section on top of your app, and a sign-out button is displayed in the authenticated state.
    as below..
    withAuthenticator(App, {
    // Render a sign out button once logged in
    includeGreetings: true,
    });
    For more details, refer to https://aws-amplify.github.io/docs/js/authentication#customize-withauthenticator
    How can I add logo to my react app? I have an app with AWS Amplify and AppSync.
    I am also using cognito Auth, and wrapped the app in withAuthenticator. Thus, having a header with signout button, user-name etc.. It would be nice If I could display a logo in that header?
    Dimka Vasilyev
    @gHashTag
    Emiliano Greco
    @neogreco
    Hello!! im newby here, i need some info for how i can paginate, count, and get first elements with offset from graphql api. Seems different as the usual grapql sintax....

    React Native example
    https://github.com/react-native-village/messaga/blob/master/src/screens/Jobs/JobsMain.js

    Hello!! im newby here, i need some info for how i can paginate, count, and get first elements with offset from graphql api. Seems different as the usual grapql sintax....

    Dimka Vasilyev
    @gHashTag
    @neogreco There is still an article in Russian. English will be a little later.
    https://medium.com/@playra/crud-create-read-update-delete-aws-amplify-react-native-b7543a13e5a3
    Emiliano Greco
    @neogreco
    @gHashTag Thank you very much! its seems that by default the limit was 10, i understand now how to manage that! :)
    Kevin Mitchell
    @kevin-mitchell
    Hi all! Does anybody know if it's common / acceptable to build other cloud formation resource configurations into Amplify projects manually? Basically I have a project that I'm building on amplify but there are some additional pieces of "middleware" that I want to run (e.g. Iot events that I want to trigger lambda functions from, etc). This isn't really super related to the FE, but the alternative is having a seperate "project" where I manage these pretty minor tasks. Currently I'm doing that with the Serverless framework, which is working well, but again it just might be nice to have a single project where all of these pieces are managed.
    Kevin Mitchell
    @kevin-mitchell
    I think in general one of the things i'm running into is that Amplify makes a lot of things super easy, but then I feel like I hit a point where having to manage everything through the CLI isn't ideal. For example, I want to add a new auth hook for the post authentication event, but to do that I need to go through the CLI to do so.. (right?)
    This is really a question btw, not a statement of fact. I'm just not confident I'm doing things correct!
    weistar
    @weistar
    I want use android sdk of kinesis ,but it keeps reporting errors
    Yony
    @yony
    Hi all! I was wondering if anyone used Amplify + NuxtJS in an SSR (Universal) app? Is there any support for amplify (provider) in Nuxt auth module?
    camilobern
    @camilobern
    Is there any way to force a user to verify their contact info after they've updated their phone/email without signing them out?
    I would like to reuse the VerifyContact component, but it looks like I can't force authState to be 'verifyContact'
    I'm using Cognito with Amplify on a React app
    camilobern
    @camilobern
    I'm setting authState="verifyContact" thinking this would render the VerifyContact component, but this does not seem to be the case
    tauqeer qureshi
    @tauqeerqureshi2_twitter
    hii
    i have getting started issue
    mattmillen888
    @mattmillen888
    Is there an easy way to setup biometric authentication in ios sdk?
    Dimka Vasilyev
    @gHashTag
    Please tell me, but the Amplify has an analog Retry?
    https://www.apollographql.com/docs/link/links/retry/
    Anvesh
    @Anvesh45002531_twitter
    hi
    any one there
    Rick Bowen
    @rrrix_gitlab

    Does anybody know if it's common / acceptable to build other cloud formation resource configurations into Amplify projects manually?

    @kevin-mitchell it's entirely common and acceptable to put other non-Amplify AWS Resources in your stack. That's what the amplify/backend/api/<api_name>/stacks/CustomResources.json file is for! You can put anything in there - including nested stacks which are stored somewhere else.

    Basheer Radman
    @Basheer94517854_twitter
    Hello
    Md Amaanuddin Parvez
    @Amaanuddin
    Hi, is there a way in amplify react to use accelerated transfer in Storage
    ?
    Aaron Fay
    @aaronfay
    I'm running into 'DynamoDB:ConditionalCheckFailedException' again, this time trying to delete an item with the Ampilify API module. My model only has one key, id, however when I pass that value I'm getting the exception. How do I determine what the condition is?
    If it helps I have one Connection on the field transcription: Transcription! @connection(name: "TranscriptionRegions") however providing any kind of value for this throws an error as well, saying it's not expecting the input.
    Aaron Fay
    @aaronfay
    It seems like the DeleteRegionInput doesn't have an expectedVersion but the condition exists in the VTL :\
    Aaron Fay
    @aaronfay
    To answer my question (I'm getting good at that) there was a but in the version of @aws-amplify/cli I was using that was not including the expectedVersion in the schema for the DeleteRegionInput, updating to the latest version 4.4.0 (and regenerating the code) has solved the issue.
    Dan Lawson
    @dclawson
    Hi, when Amplify creates a default master preview, is there a way to password protect this but not the live website? We have found this get's indexed resulting in duplicated content :/
    When searching google for site:amplifyapp.com you can see thousands of un protected master branch in there too!
    Mark Gargan
    @markgargan
    Hi folks just started a udemy course for aws-amplify and the amplify init command didn't give me any options to setup the type of javascript project I'm using nor did the amplify init ask me to guide me through my schema generation
    Has the CLI moved on some in the last while?
    Aaron Fay
    @aaronfay
    @markgargan what version of the CLI are you using? Run amplify --version
    Poora Coding
    @PooraCoding_twitter
    Hi
    In my android app, I have implemented the passwordless sign in using Cognito custom authentication . Its working perfectly first time. When I sign in and sign out, and again try to sign in ,its not working.
    Kevin Mitchell
    @kevin-mitchell

    OK, here is one (btw, thank you @rrrix_gitlab for the response, sorry I'm just seeing it now!):

    I have an aws-exports.js that I believe is auto generated by the Amplify CLI. Inside of there, in the oauth settings there is

            "redirectSignIn": "http://localhost:3000/",
            "redirectSignOut": "http://localhost:3000/",
            "responseType": "code"

    this is great for local development, but when I amplify publish or want to push something to S3 for hosting / testing on my phone for example (or whatever), those values are pushed as well. I'm guessing this is because there is a deployment process that I should be following that would magically handle this... but I'm not sure what that deployment process is. Any tips?

    Duncan Crawford
    @duncancrawford
    When using Data
    Let me try again :) can you or is the data encrypted in DataStore?
    Devang Goradia
    @goradiad_twitter
    Today I have started seeing a message on Amplify Android page "Amplify Android is in preview mode and not intended for production usage at this time. We welcome feedback to improve your experience in using Amplify Android. Click here to access the Getting Started guide for Android SDK 2.0 docs."
    This message did not exist yesterday....
    What changed?
    Eric Clemmons
    @ericclemmons
    PeteLatham-CothamTechnologies
    @PeteLatham-CothamTechnologies

    Hello All,

    I'm trying to set up subscriptions in a React app so that a list of items automatically updates both when items are added and when removed. At the moment I can only get it to do one or the other.

    Any suggestions?

    mikechambers610
    @mikechambers610
    @PeteLatham-CothamTechnologies in my own experience, you have to set up 2 separate subscriptions and then update the same list of props items from both subsriptions. Again, this is only in my experience with AppSync SDK / Appllo. Hope it helps
    PeteLatham-CothamTechnologies
    @PeteLatham-CothamTechnologies
    @mikechambers610 thanks for the suggestion. I'm using the AWS-provided <Connect /> component which looks to me like it can only take one subscription= prop. Am I looking at this the right way?