GithubHelp home page GithubHelp logo

pir8aye / firebasestorageapp Goto Github PK

View Code? Open in Web Editor NEW

This project forked from aaronksaunders/firebasestorageapp

0.0 2.0 0.0 2.4 MB

Source Code From YouTube Video on IonicFramework and Firebase Storage

JavaScript 85.45% CSS 14.51% HTML 0.04%

firebasestorageapp's Introduction

firebaseStorageApp

Source Code From YouTube Video on IonicFramework and Firebase Storage

Ionic Framework 1 - Firebase Storage File Upload Video Part One

Ionic Framework 1 - Firebase Storage File Upload Video Part Two

Alt text

Demonstrating file upload to Firebase with the Image Picker Plugin, Cordova File Plugin and ngCordova

Android Specific Changes


The plugin does not properly specify the permissions for android so the picker might not get the images, see this PR. I just installed the alternate plugin from this location - https://github.com/poocart/cordova-imagePicker

Instead of getting the path from the URI, in the code, I assume the following...

  // modify the image path when on Android
  if ($ionicPlatform.is("android")) {
    path = cordova.file.cacheDirectory
  } else {
    path = cordova.file.tempDirectory
  }

feel free to parse the path to get the directory

Firebase Data Structure

Realtime Database

https://raw.githubusercontent.com/aaronksaunders/firebaseStorageApp/master/Screenshot%202016-08-16%2016.12.04.png

Storage Database

https://github.com/aaronksaunders/firebaseStorageApp/blob/master/Screenshot%202016-08-16%2016.12.27.png

firebasestorageapp's People

Contributors

aaronksaunders avatar s1lviu avatar

Watchers

James Cloos avatar Finley avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.