Skip to main content

Using CloudyRec Code Generator

The greatest CloudyRec feature among other backend service provider is the Code Generator where it can generate the native modal source code with the specified schema in the previous "Getting Started" section.

Sandbox Environment


When you’ve satisfied the attributes and resources for the applications, you can start loading into the sandbox to make the apps ready for testing.  Go to the Define tab of the dashboard and click the “Load to sandbox” button located at the right side of the application name as shown in the figure below.

Figure 1.0 Loading to Sandbox environment

Note : In CloudyRec, there are two types of development modes available called Sandbox and Production. Sandbox is for testing the applications while developing and it’s totally free and developer doesn’t needs to pay a penny while using Sandbox.  I would recommend to put into production mode once you’ve published the apps as the data from the Sandbox will be flushed in timely manners and it’s not safe to put the data into sandbox once your apps goes live to public.

Production Mode

Production mode offers  developers  the following great features.
  •     Versioning where developer can create versions of the apps and it’s backward compatibility.
  •    Faster API calls and fully scalable.
  •   Analytics so you can track how many hits does you apps get.
  •   OAuth authentication to prevent unauthorised access to your app etc..
If your app is in the sandbox mode, you can generate the source code (Modal code) for your apps to integrate in the project. 

Go to Generate tab and generate the source code for your development environment. In this example, I will generate the source code for WP7 but you’re not limited only to WP7 and you can generate source code for 7 different platforms which can easily make your apps as a cross-platform compatible mode. 
Figure 1.1 Generating source code using code generator

Once you’ve clicked the generate button, you needs to wait for a while to complete the code generation queue and after a while refresh the page to see the button for downloading of the actual code.

After you’ve downloaded and extracted the generated source code, it's recommended you to change the main folder of the source code to “CloudyRec” as shown in the figure below.

Figure 1.2 Downloading and extracting the source code

The app is now ready to integrate in the Windows 8 Metro apps project. Let’s begin writing the todo-list cross-platform cloud based application by clicking here.

Note : You're allowed to generate the source code for as much platforms as you can and make your apps cross-platform while accessing to the same datasource from different mobile platforms.


You can request the source code project for this tutorial using facebook message. More tutorials will coming through for monogame WinRT and also Unity 3D game engine.

Play battle tank game online free @http://www.tankrivals.com/
Check out more organised blog posts @ http://gamesdevtutors.com/

Comments

Popular posts from this blog

Using XAML on Monogame for WinRT (Part 2)

Integrating Monogame with XAML Metro UI If you're coming from the previous section, you now have a metro UI application project with blank page and also have monogame.windows8 library reference to the project. Now Let's fix some source code for the  pages to get XAML working with monogame. Step01 ( Hacking App.xaml.cs file) App.xaml.cs delivers the most important start point while rendering a particular page in Metro UI application. I added gamePage and mainPage as  a public variables as they become accessible from other classes to for page nagivations. Here is the source code for to see what it looks like for the final App.xaml.cs file. sealed partial class App : Application     {         public ContentManager Content { get; set; }         public GameServiceContainer Services { get; set; }         public GamePage gamePage;         public MainPage mainPage;   ...

Steps to add IAP for Unity iOS and publishing steps

Adding IAP Create a new app ID and create a new app using that ID on apple connect Add IAP and make sure that screenshots are provided to get the IAP in Ready to Submit state. To test IAP on test account, you need to wait between 12-24 hours to make the product available to test. App installation failed, Could not write to the device Restart your iphone and xcode. Sometimes restart Mac or build 3-4 times If you have another device such as iPad, build and run for that device and then run it back with previous device again Building to device Export XCode project from Unity as usual. Create new development certificate for building into the device Mark automatic code signing if you're in development and testing the app Select your team in the provision profile Note : If you're using onesignal, make sure you also select your team in targets in onesignal project as well. Publishing to appstore Create distribution profile for app and download it U...

Resolving the app install conflicts for firebase notifications!

Most of the time when you cloned a Unity project which has firebase notification integrated, No matter what bundle ID you changed for the newly cloned project, you'll always received resolve conflicts error. Mainly because whenever you import firebase SDK and make jar resolve, google play services repackage some of the .aar files with the old bundle ID unless you make the force resolve again! The first options would be 1 - Delete all the .aar files in the Plugins->Android folder 2 - Go to Assets->PlayService resolver->Android->Force resolve and the required .aar files will be rebuilt using the new bundle ID But for some reason if you don't want to use force resolve options, you can  manually modify some of the aar file and rebuild the apk again. 1 - Look for com.google.firebase.firebase-common-12.0.1.aar and com.google.firebase.firebase-iid-12.0.1.aar file inside Android plugins folder 2 - change .aar file to .zip file and extract them to seperate...