overshare / overshare-kit Goto Github PK
View Code? Open in Web Editor NEWA soup-to-nuts sharing library for iOS.
License: MIT License
A soup-to-nuts sharing library for iOS.
License: MIT License
Hi,
The docs read: "After including OvershareKit in your Xcode project (see the detailed requirements below), the steps to get started couldn't be easier:"
There are no 'detailed requirements' listed below and I'm having trouble integrating the library into a project.
Pinterest support would be great but I know their current iOS SDK is not so great as of yet. Still figured this was worth putting a placeholder in for
The animation timing for the OSK menu doesn't feel like it has the same timing that other transitions in iOS 7 do. For me, this makes OSK feel a bit less integrated. Is this something that can be changed?
I implemented Sina Weibo and Tencent Weibo activities in the master branch of my fork.
They are very similar to twitter: use the iOS system accounts, are limited to 140 characters and support up to one image. Note that Tencent Weibo needs an App Key but I am not providing any example one (Tencent Weibo made it more difficult to get app keys outside Chine since I got mine).
If my Tumblr activity pull request gets merged, I'll submit a new one for this.
It's currently impossible to submit to the app store due to validation failures.
Google has updated their API to resolve the issue, but due to the fact that the project includes the source of a much older version of the library it still fails.
Is there a specific reason that the source for GooglePlus is included in project instead of just relying on cocoa pods to pull it down?
I've already rolled my own authentication in my app for Instapaper, Readability, and Pocket, and want to continue to let users use these services without having to re-login. It would be great if I could pass one of my classes as a authentication manager delegate (?), so that I could provide OvershareKit with the credentials that I already have stored.
Depending on the context of the app could be important to specify the order of the activity displayed.
Is there a way to do that ?
Hi, thanks for a great project!
Would you consider adding Overshare to Cocoapods? You could use subspecs to allow the developer to conditionally require one, both, or neither of the ADN and Pocket SDKs.
I'm working on Evernote activity with generic authentication. SDK Evernote have method for authentication:
-authenticateWithViewController:(*UIViewController) completionHandler:^(NSError *error)
How i can create view controller, pass to method and present it without appDelegate?
Sorry for my english.
OvershareKit seems pretty awesome. It seems users like it (I've had two requests from users to implement it already). I'm thinking of incorporating it into Pushpin and am still on the fence. I guess I'm just looking for some elaboration on why you think UIAVC is too limiting.
Thanks!
Instapaper was updated recently with new icons. The ones in OverShareKit should be modified to reflect that change.
Here's the confusing part: (maybe only I was confused)
"Facebook: The iOS authentication requirements for Facebook include passing an application ID. Register your app at http://developers.facebook.com/."
I've registered my Facebook App and got and App Id. However I don't know how to pass this App Id to OvershareKit.
I've tried change the demo's bundle id to mine, and it doesn't work, showing error like this:
facebook remote_app_id does not match stored id.
Maybe this is more of an ask for help than a bug report, am I doing something wrong?
I see that Instagram is there as a URLScheme type but the implementation is not there yet. I'm wondering if Instagram support is in the works or not.
Hello,
I am attempting to skip the built in Activity Sheet as currently my app only has a limited selection of sharing options, but will be expanding in the future. So, for now, I am going to use a couple buttons to trigger sharing to specific services.
My question is that I found the code block below in OSKPresentationManager, but I'm not sure how to create an activity such as OSKFacebookActivity (or another) myself.
/**
Use this method to skip the activity sheet view controller and proceed straight to the built-in flow
through purchasing, authentication, and publishing view controllers.
This method is for applications that wish to present their own activity sheet UI, but still wish
to use Overshare Kit for all the other view controllers & logic.
@param activity The user's selected activity. It's up to you to create & obtain this activity.
@param presentingViewController The view controller from which OSK will present it's view controllers.
@param options A dictionary of options. The accepted keys are `OSKPresentationOption_ActivityCompletionHandler`
and `OSKPresentationOption_PresentationEndingHandler`.
*/
- (void)beginSessionWithSelectedActivity:(OSKActivity *)activity
presentingViewController:(UIViewController *)presentingViewController
options:(NSDictionary *)options;
Does the OSKActivitiesManager need to be used, and the appropriate activity picked out of the array returned by
- (NSArray *)validActivitiesForContent:(OSKShareableContent *)content options:(NSDictionary *)options;
?
Is there another way to create a specific activity and activity specific content?
Thank you for your time.
I'm using OvershareKit form CocoaPods, and starting today, I'm getting this error when building:
(null): "_MPMoviePlayerThumbnailImageKey", referenced from:
(null): -[GPPMediaPreviewView thumbnailImageRequestDidFinish:] in GooglePlus(GPPMediaPreviewView.o)
(null): "_MPMoviePlayerThumbnailImageRequestDidFinishNotification", referenced from:
(null): -[GPPMediaPreviewView initWithFrame:mediaAttachment:] in GooglePlus(GPPMediaPreviewView.o)
(null): -[GPPMediaPreviewView thumbnailImageRequestDidFinish:] in GooglePlus(GPPMediaPreviewView.o)
(null): "_OBJC_CLASS_$_MPMoviePlayerController", referenced from:
Since it has something to do with GooglePlus, I'm guessing it's related to OvershareKit
I know this was written pre-ARC and I'm getting dozens of errors on 'release', 'retain', and 'autorelease'. I'm also getting a bunch of casting errors that I'm doing my best to fix. I've only been developing in xcode for a few months so this activity is very difficult for me.
If my view controller has UIStatusBarStyleLightContent
as the style, and the OSKUsernamePasswordViewController
has a white navigation bar, the status bar style should change to UIStatusBarStyleDefault. And vice versa.
Tried out the as-you-type quote smartener in Sunlit. Please forgive me if the following is a bug only in Sunlit but not in OvershareKit.
If you type an "opening" punctuation character -- think: ( { [ -- and then type a single or double quote, OSK will give you a closing quote, but clearly should give you an opening quote.
In the case where you type a quote immediately after a quote:
When using email share activity, the view service terminates when running on iOS 8. Error below.
2014-09-11 22:41:14.717 Overshare[32357:646951] viewServiceDidTerminateWithError: Error Domain=_UIViewServiceInterfaceErrorDomain Code=3 "The operation couldn’t be completed. (_UIViewServiceInterfaceErrorDomain error 3.)" UserInfo=0x7fcbf957a690 {Message=Service Connection Interrupted}
2014-09-11 22:41:25.702 Overshare[32357:647590] <MFMailComposeRemoteViewController: 0x7fcbf9576f50> timed out waiting for fence barrier from com.apple.MailCompositionService
It would be great to have an activity that opens links in http://velocityapp.com
I've created a OSKActivity subclass. How to display my activity with others?
Firstly , thank you for sharing us this awesome source.
how can I implement the presentation for iPad as iPhone view not as popover
thank you
Maybe I'm missing something, but the tint color of the email dialog is not passed.
Actual Result with OvershareKit: https://www.dropbox.com/s/wkfuxpgye9jjvri/Screenshot%202013-11-30%2018.26.39.png
Wanted Result: https://www.dropbox.com/s/tccor4scsaioxw7/Screenshot%202013-11-30%2018.26.49.png
The app itself has the correct tint color set: https://www.dropbox.com/s/umzvttlvsml2nh7/Screenshot%202013-11-30%2018.26.56.png
Sorry for the tweet spam. I realized I should just write up an issue.
I'm setting my customizationsDelegate with my Facebook API key before presenting the activity sheet via the Presentation Manager and what I'm seeing is that the customizationDelegate is acknowledged to show the Facebook activity itself but when the user clicks on the Facebook activity as if to share to it, when it comes time to call up on the customizationsDelegate again to get that Facebook API Key , the customizationsDelegate has been released already (weak delegate property).
I fixed this of course by making the property strong but I realize delegate properties are supposed to be weak so I'm not sure what a better workaround is.
Causing post cocoa pods install to complain about missing Google Plus SDK files.
It would be super nice with bindings/dll for Xamarin/MonoTouch
A Facebook Share should be able to have a link (which will result in a link box attached below the status on Facebook).
Also posts on Facebook support a lot more meta data.. that should be reflected in Overshare. I would recommend a type called OSKFacebookPostContentItem
which has all specific Facebook parameters.
Instaradio would like to join the party:
Instaradio
An audio broadcasting social network
By Instaradio
Website:
http://instarad.io
App Store:
https://itunes.apple.com/ca/app/instaradio-its-snap-to-broadcast/id643855633?mt=8
I imagine there is should be a check if the popover is already visible or not.
Here the self.pasteboardItem.text is nil and it crashes
The first time an app tries to save via OSKSaveToCameraRollActivity, users must allow the app access to Photos via iOS. If you have a OSKActivityCompletionHandler set up, for example, a confirmation message, that will fire at the same time as the permissions alert.
After installing with Cocoapods, is there another step? This is the error I am getting:
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_GPPShare", referenced from:
objc-class-ref in libPods.a(OSKGooglePlusActivity.o)
"_OBJC_CLASS_$_GPPSignIn", referenced from:
objc-class-ref in libPods.a(OSKGooglePlusActivity.o)
"_kGTLAuthScopePlusLogin", referenced from:
-[OSKGooglePlusActivity authenticate:] in libPods.a(OSKGooglePlusActivity.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Apple requires that emails follow the standard iOS look and feel. When customising your app appearance (together with overshare-kit), it changes the headers and other fields of emails, making it non-standard.
To get past this, I had to reset appearance to standards before sharing via email, and set it back afterwards. It took a lot of fiddling to get it right.
This issue is not specific to overshare-kit, but I think it would be great to support this behaviour right inside it, since email is usually invoked via sharing.
When I try to share to Facebook in the sample app, a dialog pops up that says "Couldn't Access Your Accounts" and "You have previously denied this app access to your accounts. Please head to the Settings app's Privacy options to enable sharing". I have recently installed the Facebook app, and I did not deny it access to my accounts. It never even asked for access. There is also nothing in the Privacy section of the Settings app that allows me to give the app access to my accounts.
When I try to build the sample app, I get the following build error. Perhaps this is related to commit d5655fd.
Undefined symbols for architecture armv7:
"OBJC_CLASS$_OSKSaveToCameraRollActivity", referenced from:
objc-class-ref in OSKActivitiesManager.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
...not just for OSKAppDotNetActivity.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.