apollo_flutter 0.0.1-alpha.2 copy "apollo_flutter: ^0.0.1-alpha.2" to clipboard
apollo_flutter: ^0.0.1-alpha.2 copied to clipboard

outdated

the Apollo service of the Terra platform.

apollo_flutter #

A flutter plug-in for the native Apollo library (Android and iOS).

Installation #

First, add apollo_flutter as a dependency in your pubspec.yaml file.

Android #

Add TekoGoogleRegistryToken to local.properties of this project (contact [email protected] to get the token).

// android/local.properties

TekoGoogleRegistry.password=<your-token>

iOS #

Setup github access token for accessing Teko iOS frameworks (contact [email protected] to get the token)..

  • Open terminal: touch /.bash_profile; open /.bash_profile (a text editor will be opened)
  • Add a new line: export GITHUB_USER_TOKEN="<your-token>"
  • Save file and go back to terminal: source ~/.bash_profile

Library usage #

Initialize/get an Apollo instance #

Static Method: getInstance(String appName) → Future<Apollo>

Should be called in initialize phase of your app and must be called after initilizing TerraApp successful.

Get the Apollo theme #

Method: getTheme() -> ApolloTheme

1
likes
0
points
215
downloads

Publisher

unverified uploader

Weekly Downloads

the Apollo service of the Terra platform.

Repository

License

unknown (license)

Dependencies

flutter

More

Packages that depend on apollo_flutter

Packages that implement apollo_flutter