Comments (6)
Thanks for reporting this.
- I checked the code and it looks like everything is linked properly, from the JS interface, to the Pinterest SDK
- I check if Pinterest updated their iOS SDK. They didn't.
I can't tell what the issue here is.
- Do other functions work fine on iOS?
- Did you try to remove the plugin and re-install it to get a fresh copy of the SDK?
from cordova-plugin-pinterest.
I have checked all the function on iOS, and found that all the functions are working fine except these two functions:
createPin(note, boardId, imageUrl, link, onSuccess, onError)
getBoardPins(boardId, onSuccess, onError, fields, limit)
I have already told you about createPin method.
code i used for getBoardPins()
cordova.plugins.Pinterest.getMyBoards(function (success) {
debugger
cordova.plugins.Pinterest.getBoardPins(success[0].id, function (s) {
debugger
}, function (e) {
debugger
})
}, function (error) {
debugger
})
No debugger is being hit on iOS.
I have checked multiple times on two different Macbook . Also I reinstalled the plugin twice.But nothing worked.
Please check the above functions.
Also,
getMyLikes(onSuccess, onError, fields, limit)
is throwing error on both android and iOS
message:"404: Not Found"
type:"http"
But may be it's beacuse i dont have any likes yet.
Everything is working fine on android.
from cordova-plugin-pinterest.
Hi!
How did you manage to install this plugin in an Ionic project? at iOS compilation time it gives me "PDKResponseObject.h" file does not exist.
Some help needed please, i am following the instructions on https://ionicframework.com/docs/native/pinterest/
Here is my Ionic info command output:
cli packages: (/usr/local/lib/node_modules)
@ionic/cli-utils : 1.15.2
ionic (Ionic CLI) : 3.15.2
global packages:
cordova (Cordova CLI) : 7.1.0
local packages:
@ionic/app-scripts : 3.0.0
Cordova Platforms : ios 4.5.2
Ionic Framework : ionic-angular 3.7.1
System:
Android SDK Tools : 25.2.2
ios-deploy : 1.9.2
Node : v8.8.1
npm : 5.5.1
OS : macOS High Sierra
Xcode : Xcode 9.1 Build version 9B55
Environment Variables:
ANDROID_HOME : /Users/tuity/Library/Android/sdk
Misc:
backend : legacy
Thanks in advance
from cordova-plugin-pinterest.
Hi @oosswwaalldd I got the same issue while trying to install it second time in iOS, there was a mix-up of plugin errors, I got various other ".h" file error for other plugins also. what i did was:
deleted all the plugins which are causing those errors using command:
cordova plugin list
- this will list all the installed plugins
cordova plugin remove <NAME-OF-PLUGIN>
- remove all the plugins which are causing error
then i removed both the platform android and iOS(yes, i removed android platform while running it on iOS)
ionic cordova platform remove ios
ionic cordova platform remove android
IMPORTANT: Restart the terminal if any of the steps fails or give error.
I then installed pinterest plugin again using command :
cordova plugin add cordova-plugin-pinterest --variable APP_ID=YOUR_APP_ID
(which is on github page)
then run using:
ionic cordova emulate ios
from cordova-plugin-pinterest.
@tonystaa thanks, I've tried that but i am still having the same error, I thinks it is the cocoa pods not installing after the plugin installation
from cordova-plugin-pinterest.
Please how did you handle your Redirect URI? An issue is open here for it, but no response at all. But it is working for you, so please could you respond to that issue.?
from cordova-plugin-pinterest.
Related Issues (7)
- How to provide imageUrl in function createPin(note, boardId, imageUrl, link, onSuccess, onError) HOT 1
- Logout HOT 3
- Error in ios code pinterest.m file
- Login on android opens up browser with an invalid Redirect URI
- [!] SSKeychain has been deprecated in favor of SAMKeychain
- com.pinterest.android.pdk.PDKCallback;
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cordova-plugin-pinterest.