-
Amplify를 이용해 안드로이드 앱에서 Auth 추가하기
Authentication 추가하기 Google에서 새로운 프로젝트를 만들고 새로운 Credential을 만든다 참고 링크: https://docs.amplify.aws/lib/auth/social_signin_web_ui/q/platform/android#amazon-cognito-user-pool-setup Project 루트 폴더에서 터미널을 켜서 Authorization을 추가해 준다 amplify add auth Do you want to use the default authentication and security configuration? Default configuration with Social Provider (Federation) ? How do you want users to be able to...
-
AWS Amplify로 안드로이드에서 Cognito 추가하기
AWS Amplify CLI를 통해 Cognito 추가 amplify add auth ? Do you want to use the default authentication and security configuration? Select Default configuration with Social Provider and press enter ? How do you want users to be able to sign in? Select the default Username and press enter ?...
-
Vue.js에서 S3버킷으로 파일 업로드 하기
전체 과정 요약 퍼블릭 액세스가 가능한 사진을 저장할 S3 버킷을 만든다 S3 버킷에 접근 가능하도록 AWS Cognito를 사용해서 자격증명 풀을 만들고 알맞은 권한을 생성해준다 Vue.js를 통해 S3로 이미지 파일을 업로드 한다 S3 버킷 생성 및 설정 S3에서 새 버킷을 생성한다 - 모든 값은 default로 두고 block all public access 라는...
-
Android SDK 에러 해결
“Failed to install the following Android SDK packages as some licences have not been accepted” error 이 에러는 새로운 파일을 받아와서 처음 build를 진행할때 생겼던 에러이다. 새로운 파일을 받을때 라이센스에 동의를 해야되는데 그걸 하지 않아서 생기는 에러이다. 다음 코드들을 실행하면 쉽게 해결된다. Mac: export JAVA_HOME=/Applications/Android\ Studio.app/Contents/jre/jdk/Contents/Home yes | ~/Library/Android/sdk/tools/bin/sdkmanager --licenses...
-
안드로이드 앱에서 Amplify CLI 설치하고 구성하기
AWS CLI 설치 및 계정 연결 AWS CLI가 설치되어 있는지 확인하기 안되있다면 이 링크 에서 설치 가능 AWS 설치 후 터미널 껐다 켠 후 터미널 창에서 설치 되었는지 체크한다. aws --version AWS CLI가 설치 되었다면 프로젝트 계정을 연결한다 aws --configure ? AWS Access Key ID: <Access Key ID 입력> ?...