Code Monkey home page Code Monkey logo

Comments (5)

GwonHyeok avatar GwonHyeok commented on June 12, 2024 1

안녕하세요 저 같은 경우는 다음과 같이 사용하였습니다.

    this.naver.login()
      .then(({ accessToken }) => new Promise(resolve => {
        this.naver.requestMe().then(naverMe => resolve(Object.assign({}, naverMe, { accessToken })))
      }))
      .then(({ accessToken, response }) => {
        const { profileImage, name, email } = response;
        return this.authProvider.loginNaver(accessToken, profileImage, name, email).map(res => res.json()).toPromise();
      })
      .then(this.loginSuccessCallback.bind(this))
      .catch(error => console.error(error));

from ionic-plugin-naver.

GwonHyeok avatar GwonHyeok commented on June 12, 2024 1

@kotran88
해결 하셨나요?

from ionic-plugin-naver.

kotran88 avatar kotran88 commented on June 12, 2024

감사합니다 ㅎㅎ 수정해서 잘 사용했고 안드로이드는 되는거 확인했습니다~!
답변 달릴까..?라며 질문드렸는데...감사해요.

이제 곧 아이폰으로 네이버 로그인을 할건데 대충 읽어보고 url scheme은 설정했습니다.
xcode는 처음인데..
appdelegate에 추가하는 코드부분에 대해서 여쭤볼께요
2017-10-09 9 32 56

appdelegate가 여러가지가 있는데 어디에 코드를 추가해야할까요?

정말 감사합니다! ^^

from ionic-plugin-naver.

kotran88 avatar kotran88 commented on June 12, 2024

appdelegate.h에 추가 안하고 해봤는데 되네요...
그런데..위에 알려주신 코드에서
this.authProvider
this.loginSuccessCallback
은 그냥 타입을 any로 하고 해도 되나요?

from ionic-plugin-naver.

GwonHyeok avatar GwonHyeok commented on June 12, 2024

Duplicate of #5

곧 수정되어서 업데이트될 예정 입니다.

from ionic-plugin-naver.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.