aws / aws-sdk-js

AWS SDK for JavaScript in the browser and Node.js
https://aws.amazon.com/developer/language/javascript/
Apache License 2.0
7.59k stars 1.55k forks source link

about pinpoint error in ionic2 project #1506

Closed jsochen closed 7 years ago

jsochen commented 7 years ago

in browser i sea the console(now I Open the service) ,I konw because Cross domain but i want konw how to deal with some interface image

when the ionic2 app running in touch the result is (now that webview Access method if 'file:///...') image from this photos I know maybe i froget to add the session but i don't know how to do ,next photo is my code aws.component.ts: image index.html image

jsochen commented 7 years ago

if someone have a dome , please tell me, Grateful!

jeskew commented 7 years ago

By default, Cognito credentials will only be able to access Cognito Sync and Mobile Analytics. You will need to grant a more permissive role to the Cognito Identity Pool used by your application in order to access Pinpoint APIs.

jsochen commented 7 years ago

thanks , I'll try again with you suggest。

humusdigital commented 7 years ago

Hi, I'm following this posts and I have the same problem and I will like to know if you can set correctly Cognito credentials to run the app into pinpoint or what was the correct configuration or code to connect your ionic app with pinpoint to received pushnotifications. thanks.

lock[bot] commented 4 years ago

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.