{"id":1501,"url":"https://github.com/ebbapp/ebblinkSDK","last_synced_at":"2025-07-31T12:33:25.435Z","repository":{"id":71640993,"uuid":"69808688","full_name":"ebbapp/ebblinkSDK","owner":"ebbapp","description":"iOS SDK to share JPEG images with an expiration date                   ","archived":false,"fork":false,"pushed_at":"2018-04-06T21:52:50.000Z","size":5873,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-08-15T00:19:51.117Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://www.fiveopenbooks.com","language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ebbapp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2016-10-02T16:40:28.000Z","updated_at":"2018-04-06T23:40:17.000Z","dependencies_parsed_at":"2023-02-23T07:46:12.079Z","dependency_job_id":null,"html_url":"https://github.com/ebbapp/ebblinkSDK","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ebbapp%2FebblinkSDK","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ebbapp%2FebblinkSDK/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ebbapp%2FebblinkSDK/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ebbapp%2FebblinkSDK/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ebbapp","download_url":"https://codeload.github.com/ebbapp/ebblinkSDK/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228248406,"owners_count":17891447,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-01-05T20:15:47.942Z","updated_at":"2024-12-05T06:31:17.671Z","avatar_url":"https://github.com/ebbapp.png","language":"Objective-C","readme":"Ebblink iOS SDK\n==============\n\nA library to integrate Ebblink private image sharing capabilities into your iOS app.\n\n\nTable of Contents\n=================\n**Getting Started**\n\n1. [Requirements](#requirements)\n2. [Setup](#setup)\n3. [Quick Start](#quick-start)\n4. [Terms and Conditions](#terms-and-conditions)\n\n\nRequirements\n--------------\n\n- iOS 8+\n\n\nSetup\n-------------\n\nAdd the following to your Podfile:\n\n```sh\n\npod 'ebblinkSDK', :git =\u003e 'https://github.com/ebbapp/ebblinkSDK'\n```\n\n\nQuick Start\n-------------\n\n\n##### Instantiate Ebblink iOS SDK\nTo get a token send us email at info@fiveopenbooks.com\n\nThe userId is a parameter that identifies a unique user. You can use any string such that the\nidentifier is unique, for example the user email.\n```Objective-C\n+ (void)initWithToken:(NSString*)token andUserId:(NSString*)userId;\n```\n\n##### Set processing mode\nThere are two possible processing modes:\n- ```Device```: the encryption and decryption of the image is performed on the user's device. This means that the image is uploaded to our servers fully encrypted.\n- ```Server```: the encryption and decryption of the image is performed on our server. This means that during the network data transfer from our servers to the device the image is not encrypted. The processing time may vary depending on the device specifications. By default the processing mode is ```Device```.\n```Objective-C\n\n+ (void)setProcessingMode:(EBProcessingMode)processingMode;\n```\n\n##### Upload a new image\n\n```Objective-C\n\n+ (void) p3ImageUpload:(UIImage*)image duration:(NSNumber*) duration completion:(void (^)(NSString* imageId, NSString* password, NSString* publicLink, NSString* error))completionBlock;\n```\n\n##### View shared image\n\n```Objective-C\n\n+ (void) p3ImageView:(NSString*)imageId withPassword:(NSString*)password completion:(void (^)(UIImage* image, NSString* error))completionBlock;\n\n```\n##### Check image status\n\n```Objective-C\n+ (void) p3ImageStatus:(NSString*)imageId completion:(void (^)(NSDictionary* dictionary, NSString* error))completionBlock;\n\n```\n\n##### Delete image shared image\n\n\n```Objective-C\n+ (void) p3ImageKill:(NSString*)imageId completion:(void (^)(BOOL success, NSString* error))completionBlock;\n\n```\n\n##### Upload an image as a story\nA story is an image that is linked to the user and available for only 24h from the moment it is uploaded. The completion block returns an imageId that is needed if one wants to manually delete the image before the 24h. \n\n\n```Objective-C\n+ (void) p3ImageStoryUpload:(UIImage*)image completion:(void (^)(NSString* imageId, NSString* error))completionBlock;\n\n```\n\n##### View the stories of a user\nCalling this method and passing a userId will return in the completion block an EBUserStory object that contains all the available stories from that user. \n\n\n```Objective-C\n+ (void) p3UserStoryView:(NSString*)userId completion:(void (^)(EBUserStory *story, NSString* error))completionBlock;;\n\n```\n\n\nTerms and Conditions\n----------------\n\nYou can find our terms and conditions in the following url:\n\n[http://www.fiveopenbooks.com/terms](http://www.fiveopenbooks.com/terms)\n","funding_links":[],"categories":["Media"],"sub_categories":["Image","Other free courses"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Febbapp%2FebblinkSDK","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Febbapp%2FebblinkSDK","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Febbapp%2FebblinkSDK/lists"}