{"id":340,"date":"2020-02-24T21:43:37","date_gmt":"2020-02-24T21:43:37","guid":{"rendered":"https:\/\/dev.i-smartcloud.com\/?page_id=340"},"modified":"2020-03-19T15:12:28","modified_gmt":"2020-03-19T15:12:28","slug":"download-files","status":"publish","type":"page","link":"https:\/\/dev.i-smartcloud.com\/index.php\/download-files\/","title":{"rendered":"Files"},"content":{"rendered":"\n<p>Below you will find links to download a bundle. The bundle contains the Library and a demo code. You are free to use pieces of this demo code into your code. <\/p>\n\n\n\n<p>The documentation in the Framework and in the demo code is limited. Instead, you should consult this page.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">iOS<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Bundle<\/h3>\n\n\n\n<p>The iOS Bundle is a zip file which contains one folder named &#8220;Demo&#8221; and the RainbowSDK Framework. The Framework is written in objective-c, but you should not have any issues to use it in a Swift code. You run the demo code but clicking on the RainboeDemo.xcodeproj file. When the project is loaded, in the file list, you will find the &#8220;Service.plist&#8221; file. That file is a template dictionary to provide the clientID, clientSecret and callbackURI for each cloud service to the Framework. You can remove entries from that file or even create your own dictionary. But for each cloud service you need to provide the information that you see in that file.<\/p>\n\n\n<div class='w3eden'><!-- WPDM Link Template: Default Template -->\n\n<div class=\"link-template-default card mb-2\">\n    <div class=\"card-body\">\n        <div class=\"media\">\n            <div class=\"mr-3 img-48\"><img decoding=\"async\" class=\"wpdm_icon\" alt=\"Icon\" src=\"https:\/\/dev.i-smartcloud.com\/wp-content\/plugins\/download-manager\/assets\/file-type-icons\/zip.svg\" \/><\/div>\n            <div class=\"media-body\">\n                <h3 class=\"package-title\"><a href='https:\/\/dev.i-smartcloud.com\/index.php\/download\/ios-bundle\/'>iOS Bundle<\/a><\/h3>\n                <div class=\"text-muted text-small\"><i class=\"fas fa-copy\"><\/i> 1 file(s) <i class=\"fas fa-hdd ml-3\"><\/i> 4.00 MB<\/div>\n            <\/div>\n            <div class=\"ml-3\">\n                <a class='wpdm-download-link download-on-click btn btn-primary ' rel='nofollow' href='#' data-downloadurl=\"https:\/\/dev.i-smartcloud.com\/index.php\/download\/ios-bundle\/?wpdmdl=366&refresh=69e3664f4823a1776510543\">Download<\/a>\n            <\/div>\n        <\/div>\n    <\/div>\n<\/div>\n\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">Repository<\/h3>\n\n\n\n<p>The Rainbow SDK is also available as a repository. You can find it at <a rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\" href=\"https:\/\/bitbucket.org\/ismartsolutions\/rainbow-sdk-ios\/src\/master\/\" target=\"_blank\">RainbowSDK<\/a>. <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Android<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Bundle<\/h3>\n\n\n\n<p>The Android Bundle is a zip file which contains one folder named &#8220;RainbowDemo&#8221; and the Library folder. The Library is written in JAVA. You run the demo code by selecting &#8220;Open an existing Android Studio project&#8221; (or New Project if you are working on another project&#8221; on the Android Studio application and then browse to that folder. When the project is loaded, in the RApplication.java file you will find the method createServiceKeys(). That method creates a JSONObject that provides the clientID, clientSecret and callbackURI for each cloud service to the Library. You can remove entries from that object, but for each cloud service you need to provide the information that you see in that object<\/p>\n\n\n<div class='w3eden'><!-- WPDM Link Template: Default Template -->\n\n<div class=\"link-template-default card mb-2\">\n    <div class=\"card-body\">\n        <div class=\"media\">\n            <div class=\"mr-3 img-48\"><img decoding=\"async\" class=\"wpdm_icon\" alt=\"Icon\" src=\"https:\/\/dev.i-smartcloud.com\/wp-content\/plugins\/download-manager\/assets\/file-type-icons\/zip.svg\" \/><\/div>\n            <div class=\"media-body\">\n                <h3 class=\"package-title\"><a href='https:\/\/dev.i-smartcloud.com\/index.php\/download\/android-bundle\/'>Android Bundle<\/a><\/h3>\n                <div class=\"text-muted text-small\"><i class=\"fas fa-copy\"><\/i> 1 file(s) <i class=\"fas fa-hdd ml-3\"><\/i> 1.12 MB<\/div>\n            <\/div>\n            <div class=\"ml-3\">\n                <a class='wpdm-download-link download-on-click btn btn-primary ' rel='nofollow' href='#' data-downloadurl=\"https:\/\/dev.i-smartcloud.com\/index.php\/download\/android-bundle\/?wpdmdl=802&refresh=69e3664f4b1651776510543\">Download<\/a>\n            <\/div>\n        <\/div>\n    <\/div>\n<\/div>\n\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">Repository<\/h3>\n\n\n\n<p>The Rainbow SDK is also available as a repository. You can find it at <a rel=\"noreferrer noopener\" aria-label=\"RainbowLibrary (opens in a new tab)\" href=\"https:\/\/bitbucket.org\/ismartsolutions\/rainbow-sdk-android\/src\/master\/\" target=\"_blank\">RainbowLibrary<\/a>. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Below you will find links to download a bundle. The bundle contains the Library and a demo code. You are free to use pieces of this demo code into your&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"class_list":["post-340","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Files - Rainbow SDK<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/dev.i-smartcloud.com\/index.php\/download-files\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Files - Rainbow SDK\" \/>\n<meta property=\"og:description\" content=\"Below you will find links to download a bundle. The bundle contains the Library and a demo code. You are free to use pieces of this demo code into your...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/dev.i-smartcloud.com\/index.php\/download-files\/\" \/>\n<meta property=\"og:site_name\" content=\"Rainbow SDK\" \/>\n<meta property=\"article:modified_time\" content=\"2020-03-19T15:12:28+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/dev.i-smartcloud.com\/index.php\/download-files\/\",\"url\":\"https:\/\/dev.i-smartcloud.com\/index.php\/download-files\/\",\"name\":\"Files - Rainbow SDK\",\"isPartOf\":{\"@id\":\"https:\/\/dev.i-smartcloud.com\/#website\"},\"datePublished\":\"2020-02-24T21:43:37+00:00\",\"dateModified\":\"2020-03-19T15:12:28+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/dev.i-smartcloud.com\/index.php\/download-files\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/dev.i-smartcloud.com\/index.php\/download-files\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/dev.i-smartcloud.com\/index.php\/download-files\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/dev.i-smartcloud.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Files\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/dev.i-smartcloud.com\/#website\",\"url\":\"https:\/\/dev.i-smartcloud.com\/\",\"name\":\"Rainbow SDK\",\"description\":\"The Rainbow Cloud Manager at your disposal\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/dev.i-smartcloud.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Files - Rainbow SDK","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/dev.i-smartcloud.com\/index.php\/download-files\/","og_locale":"en_US","og_type":"article","og_title":"Files - Rainbow SDK","og_description":"Below you will find links to download a bundle. The bundle contains the Library and a demo code. You are free to use pieces of this demo code into your...","og_url":"https:\/\/dev.i-smartcloud.com\/index.php\/download-files\/","og_site_name":"Rainbow SDK","article_modified_time":"2020-03-19T15:12:28+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/dev.i-smartcloud.com\/index.php\/download-files\/","url":"https:\/\/dev.i-smartcloud.com\/index.php\/download-files\/","name":"Files - Rainbow SDK","isPartOf":{"@id":"https:\/\/dev.i-smartcloud.com\/#website"},"datePublished":"2020-02-24T21:43:37+00:00","dateModified":"2020-03-19T15:12:28+00:00","breadcrumb":{"@id":"https:\/\/dev.i-smartcloud.com\/index.php\/download-files\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/dev.i-smartcloud.com\/index.php\/download-files\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/dev.i-smartcloud.com\/index.php\/download-files\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/dev.i-smartcloud.com\/"},{"@type":"ListItem","position":2,"name":"Files"}]},{"@type":"WebSite","@id":"https:\/\/dev.i-smartcloud.com\/#website","url":"https:\/\/dev.i-smartcloud.com\/","name":"Rainbow SDK","description":"The Rainbow Cloud Manager at your disposal","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/dev.i-smartcloud.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/dev.i-smartcloud.com\/index.php\/wp-json\/wp\/v2\/pages\/340","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dev.i-smartcloud.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/dev.i-smartcloud.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/dev.i-smartcloud.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dev.i-smartcloud.com\/index.php\/wp-json\/wp\/v2\/comments?post=340"}],"version-history":[{"count":29,"href":"https:\/\/dev.i-smartcloud.com\/index.php\/wp-json\/wp\/v2\/pages\/340\/revisions"}],"predecessor-version":[{"id":807,"href":"https:\/\/dev.i-smartcloud.com\/index.php\/wp-json\/wp\/v2\/pages\/340\/revisions\/807"}],"wp:attachment":[{"href":"https:\/\/dev.i-smartcloud.com\/index.php\/wp-json\/wp\/v2\/media?parent=340"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}