Skip to content
Products
Docs
Pricing
Blog
Log In
Sign Up
Docs
Docs
CODE
On this page

Android Client

Build and publish your own UNA Android app from the NEO Expo project in neo/apps/expo: connect it to your site, set your package id, deep links, Google sign-in and push, then run it locally or build it with EAS for Google Play.
Android
Client
~15.0
Source
Copy Page
Note
UNA_URL=https://una.example.com
APP_ORIGIN=neo://app
Important
yarn               # install, once and after every pull
yarn android       # build, install on the emulator or phone, start Metro
module.exports = {
    name: 'My Community',
    slug: 'my-community',
    scheme: 'mycommunity',
    version: '1.0.0',
    icon: '../../packages/app/customization/resources/native/icon.png',
    android: {
        package: 'com.example.community',
        versionCode: 1,
        adaptiveIcon: {
            foregroundImage: '../../packages/app/customization/resources/native/adaptive-icon.png',
            backgroundColor: '#ffffff',
        },
    },
};
Important
Warning
settingsDefault.auth.google.android_client_id = 'YOUR-ANDROID-CLIENT-ID.apps.googleusercontent.com';
settingsDefault.config.api_keys.onesignal = 'YOUR-ONESIGNAL-APP-ID';
Tip
cd apps/expo
eas build --profile production --platform android
eas submit --platform android
19h
On this page
What you getBefore you startConnect your siteRun it on your machineMake it your appOptional featuresPush notificationsDeep linksPermissionsLayout on AndroidBuild for Google PlayTipsTroubleshootingRelated
Auto
Introduction
Getting Started
Configuration
Apps
CODE
Developer Architecture
Code Convention
Code Quality
Directory Structure
How to Add an App
Storage System
Common Mistakes
Payment Provider Integration
Module API
iOS Client
NEO Developer
Android Client
Web Client
Contributing
REST API
Analytics Developer
Auth
Connect
module.exports = {
    name: 'My Community',
    slug: 'my-community',
    scheme: 'mycommunity',
    version: '1.0.0',
    icon: '../../packages/app/customization/resources/native/icon.png',
    android: {
        package: 'com.example.community',
        versionCode: 1,
        adaptiveIcon: {
            foregroundImage: '../../packages/app/customization/resources/native/adaptive-icon.png',
            backgroundColor: '#ffffff',
        },
    },
};