<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[KabaqSDK - Medium]]></title>
        <description><![CDATA[The documentation for Kabaq Android SDK. This is for internal usage. - Medium]]></description>
        <link>https://medium.com/kabaqsdk?source=rss----fcb3f3a04a35---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>KabaqSDK - Medium</title>
            <link>https://medium.com/kabaqsdk?source=rss----fcb3f3a04a35---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 19 Nov 2026 11:11:38 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/kabaqsdk" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How to publish a menu]]></title>
            <link>https://medium.com/kabaqsdk/how-to-publish-a-menu-a3e380e3e1c2?source=rss----fcb3f3a04a35---4</link>
            <guid isPermaLink="false">https://medium.com/p/a3e380e3e1c2</guid>
            <dc:creator><![CDATA[Henry Yi]]></dc:creator>
            <pubDate>Fri, 02 Nov 2018 19:39:22 GMT</pubDate>
            <atom:updated>2018-11-02T19:39:21.562Z</atom:updated>
            <content:encoded><![CDATA[<h3>1.Write a menu</h3><h4>The format of a menu</h4><p>The menu is written in JSON. If you have no idea about JSON, check this <a href="https://www.tutorialspoint.com/json/index.htm">tutorial</a>. Also, highly recommend a code editor, such as Atom or Visual Studio Code.</p><p>The menu’s name should be “info.json”. <em>Any change of the name isn’t allowed.</em></p><p>The format is as below. For the value of “Dishes” key, it’s a two dimension array, although we only have one category for our initial version.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*V6l77yxpSWpZsCgrVa0U8w.png" /><figcaption>menu’s format</figcaption></figure><p>If you read the above format, still feel very confused. Check this <a href="https://s3.us-east-2.amazonaws.com/testsdk2/JSON/info.json">sample</a> of menu file and write your menu by modifying it.</p><h4>Configure datas for one dish</h4><p>It’s quite simple to configure datas for each dish, just follow the below json dictionary.</p><p>“image_url” is for the thumbnail of the dish in the wheel control of our SDK. “model_url” is url link of the 3D model of the dish.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Bx-pxaxqYu3xZoWbA7-dgg.png" /></figure><p><em>Tips:</em></p><ol><li>Read the <a href="//">Dish thumbnail design guidance</a> for the requirements of thumbnail design.</li><li>Read the <a href="//">ARCore Online Asset Instruction</a> to understand how to make a online 3D model asset for ARCore.</li></ol><h3>2.Save the menu and assets to cloud</h3><p>We use Amazon AWS S3 as our cloud. The username is henry@kabaq.io and ask the password from mint.</p><h4>Create a new bucket</h4><p><strong>Bucket name is the RestaurantID.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZyhPMFJ8ZcAv7FVFHMbj7g.png" /></figure><h4>Create folders for the new bucket</h4><p>Folders’ names should be as same as below. If names go wrong, the whole SDK won’t work.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KoC0_mogyrug5lpgdB423A.png" /></figure><p>Folders’ purposes:</p><ol><li>DishImage: all dishes’ thumbnails should be here.</li><li>DishModel: all dishes’ 3D model assets should be here. Each model is in one zip file. <strong>The zip file’s name should be as the same as the sfb file’s name.</strong></li><li>JSON: the menu we created at the first section should be put here.</li></ol><h4>Make folders public</h4><p>Only when folders are public, our SDK can access the content of each folder.</p><p><strong>Important:</strong> Make the folder public, whenever you change the folder.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SQTcWo0Nj02t5mm4WcgzlQ.png" /></figure><h3>3.Ready to go</h3><p>Congrats! Right now, everything is ready. When SDK users want to update assets of one specific restaurant, they just need to insert the RestaurantID.</p><p><strong>Important:</strong> RestaurantID is the bucket name.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a3e380e3e1c2" width="1" height="1" alt=""><hr><p><a href="https://medium.com/kabaqsdk/how-to-publish-a-menu-a3e380e3e1c2">How to publish a menu</a> was originally published in <a href="https://medium.com/kabaqsdk">KabaqSDK</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>