
19/10/2019
By the end of the day we've generated our first prototype
19/10/2019
We've choose Ionic v3 and firebase stack to develop everything.
In development articles we've implemented the camera integration and photo upload to firebase everything was put together and we passed thought a lot of bugs with package.json dependencies
| <ion-header> | |
| <ion-navbar> | |
| <ion-buttons end> | |
| <button (click)="this.chamaCamera()" ion-button icon-right> | |
| Denuncie | |
| <ion-icon name="star"></ion-icon> | |
| </button> | |
| </ion-buttons> | |
| </ion-navbar> | |
| </ion-header> | |
| <ion-content padding> | |
| <agm-map class="maps" [latitude]="lat" [longitude]="lng"> | |
| <agm-marker [latitude]="lat" [longitude]="lng"></agm-marker> | |
| </agm-map> | |
| </ion-content> | |
| <ion-footer> | |
| <botton-menu-component></botton-menu-component> | |
| </ion-footer> | |
| import { Component } from '@angular/core'; | |
| import { IonicPage, NavController, NavParams } from 'ionic-angular'; | |
| import { ImageProvider } from '../../providers/image/image'; | |
| import { LocationProvider } from '../../providers/location/location'; | |
| /** | |
| * Generated class for the HomePage page. | |
| * | |
| * See https://ionicframework.com/docs/components/#navigation for more info on | |
| * Ionic pages and navigation. | |
| */ | |
| @IonicPage() | |
| @Component({ | |
| selector: 'page-home', | |
| templateUrl: 'home.html', | |
| }) | |
| export class HomePage { | |
| title = 'My first AGM project'; | |
| lat = -23.838703; | |
| lng = -55.416115 ; | |
| constructor(public image:ImageProvider, private geo: LocationProvider) { | |
| this.geo.getLocationObservable().subscribe(dados=> { | |
| if(dados.coords && dados.coords.latitude) { | |
| this.lat= dados.coords.latitude | |
| this.lng= dados.coords.longitude; | |
| } | |
| }); | |
| } | |
| ionViewDidLoad() { | |
| console.log('ionViewDidLoad HomePage'); | |
| } | |
| public chamaCamera() { | |
| this.image.puxaCamera(); | |
| } | |
| } | |

10/18/2019 21:50
We've created the project on github and start prototyping everything.
10/18/2019 21:30
Gustavo Developer started with an idea to use a collaborative system, for citizens to report problems related to ecological crimes .. and to monitor and instigate the competent organisations to solve the issue
10/18/2019 20:30
We did not know anyone from the team, and we felt a synergy together, to create a project focusing to solve ambiental and ecological issues.
We did not knew about this feature and we will put a date in begin of each step