Internal App Store

Additional

Language
Kotlin
Version
1.2.0 (Oct 14, 2018)
Created
Apr 28, 2018
Updated
Oct 18, 2018
Owner
Simon Marquis (SimonMarquis)
Contributor
Simon Marquis (SimonMarquis)
1
Activity
Badge
Generate
Download
Source code

Advertisement

  • Add your first admin user (uid found in Firebase Authentication page)
    • Firebase Database, add admin uid
      firebase database:update /admins --data '{"<admin-uid>" : "<admin-email>"}'
      # On Windows, create a JSON file instead (unsupported JSON input)
      firebase database:update /admins update.json
    • Firebase Storage, add admin uid
  • Deploy

    • Test web app on your machine http://localhost:5000
      firebase serve
    • Deploy all Firebase modules (database, storage, hosting, functions)
      firebase deploy
    • Sync, build and install Android module from Android Studio

    Settings

    A lot of settings can be tweaked in both web and Android apps

    • Store icons and titles
    • Firebase auth providers
    • Maximum apk size
    • Admin write access
    • Store visibility (private or public)

    Backup

    • Firebase Database (Link 1, Link 2)
      // Backup
      firebase database:get / --pretty > database.json
      // Restore
      firebase database:set / database.json
    • Firebase Storage (Link)
      // Backup
      gsutil -m cp -R gs://<bucket_name> .
      // Restore
      gsutil -m cp -R . gs://<bucket_name>

    License

    Copyright 2018 Simon Marquis
    
    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at
    
        http://www.apache.org/licenses/LICENSE-2.0
    
    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.