Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 1.3 KB

README.md

File metadata and controls

28 lines (21 loc) · 1.3 KB

AAA

AAA is a Azure Durable Function example in which the state of the orchestrator is shared with an Android client through push notification. This is a companion code for the blog post:

Prerequisites

To run this tutorial:

  1. Install Visual Studio Code.
  2. Install the Azure Functions VS Code extension
  3. Make sure you have the latest version of the Azure Functions Core Tools.
  4. Install version 10.x or 12.x of Node.js installed.
  5. Android Studio and toolchain
  6. Create a Firebase project
  7. Download the Service Account and point GOOGLE_APPLICATION_CREDENTIALS to that file
  8. Create DurableTestApp/app/google-services.json against the firebase project
  9. Start emulator
  10. Start Azure by running: GOOGLE_APPLICATION_CREDENTIALS=<service.json> npm start

For the Android App

The Android app is located in the DurableTestApp folder. This app needs to be run in a emulator in the same machine as the Azure Functions is running because it is pointing twards the localhost (10.0.2.2) in Android for an emulator from Android Studio (other emulators may use a diferent address to access the localhost)

  1. Install Android Studio
  2. Choose open File -> Open -> Select the DurableTestApp Folder
  3. Run