Skip to content
This project contains a complete walkthrough and sample application called GeoPix, which leverages IBM MobileFirst on Bluemix to capture data and image attachments locally (even offline) and replicate those changes to an online data store so that the user experience is never compromised.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Node.js
iOS-native
README.md
Step By Step Instructions.pdf

README.md

#MobileFirst & Bluemix Apps that Work as Well Offline as they do Online

In the dynamic and ever-changing realm of mobile, context is critical to the success of your applications. Users may be at home sitting on the couch, or they could be on top of a mountain with very limited connectivity. There’s no way to predict where someone will be when they’re using your app, and as many of us painfully know already, there is never a case when you are always online on your mobile devices.

Well, this doesn’t always have to be a problem. Regardless of whether your app is online or offline, it is important that your app does what it needs to do – solve a problem and provide value.

This project contains a sample application called GeoPix, which leverages IBM MobileFirst on Bluemix to capture data and image attachments locally (even offline) and replicate those changes to an online data store so that the user experience is never compromised.

Key concepts demonstrated in these materials:

  • User authentication using the Advanced Mobile Access service
  • App logging and intstrumentation using Advanced Mobile Access service
  • Using a local data store for offline data access
  • Data replication (synchronization) to a remote data store
  • Building a web based endpoint on the Node.js infrastructure

Click the image below to view a comlpete end to end video-walkthrough of this content.

Offline Apps With IBM MobileFirst

The "iOS-native" folder contains the source code for a complete sample application leveraging this workflow. The "GeoPix-complete" folder contains a completed project. The "GeoPix-starter" folder contains a starter application, with all MobileFirst/Bluemix code commented out. You can follow the steps inside of the "Step By Step Instructions.pdf" file to setup the backend infrastructure on Bluemix, and setup all code within the "GeoPix-starter" project. The "Node.js" folder contains a server-side Node.js application that exposes all of this captured data through a web endpoint, in case you want to take advantage of the entire Cloud backend.

If you'd like to learn more about these capabilities, I have provided additional in the blog post at: GeoPix: A sample iOS app powered by IBM MobileFirst for Bluemix

Helpful Links

You can’t perform that action at this time.