Ionic Creator with Firebase - $save and $remove not working
$10-30 USD
Κλειστή
Αναρτήθηκε πάνω από 6 χρόνια πριν
$10-30 USD
Πληρωμή κατά την παράδοση
I have a test app created in Ionic Creator
The app is linked up to a Firebase database and I can list some database objects/records.
I have written some code to save/update a record and to also delete/remove a record.
The $save and $remove functions run without error but nothing changes in the Firebase database.
$add works perfectly
I have checked the Firebase rules and both read and write are set to true.
Here is my code for the Firebase service named "Checklist"
[login to view URL]('checklist', ['firebase'])
.service('Checklist', ['$firebaseArray', function($firebaseArray){
var ref = [login to view URL]().ref().child('CheckList');
var items = $firebaseArray(ref);
var checklist = {
'items': items,
addItem: function(name){
items.$add({
name: name,
completed: true
});
},
deleteItem: function(item){
items.$remove(item);
},
setCompleted: function(item, newV){
[login to view URL] = newV;
items.$save(item);
}
}
return checklist;
}]);
Secondly. I need to be able to set an icon image of a list item based on the record's true/false value.
<ion-item class="item-icon-left" ng-repeat="item in items" ng-click="setCompleted({{item}})">
<i class="icon ion-ionic"></i>{{[login to view URL]}}
</ion-item>
We can look at this over Skype or GoToMeeting or I could give you access to my Ionic Creator account.
Hi, to do a save or remove you need to get the item thanks to its id and then update the object. I would be glad to implement it for you
Relevant Skills and Experience
I am a mobile developer with 2 years experience using ionic and firebase
Proposed Milestones
$30 USD - Completion
Hi,
I have gone through your project description and I'm interested to work with you. I'm very passionate about my work and give good quality of work to client.
Relevant Skills and Experience
I have more than 5+ years of experience in Mobile development & good knowledge about Android, IOS, Xamarin,Ionic,Angular.I'm available for chat.
1) 100% client Satisfaction.
2) 30 Days Maintenance.
Proposed Milestones
$55 USD - Initial
Looking forward to see your positive reply on my proposal, as I am available to reply you.
Thanks
hello sir
l'm a web and mobile developer , and i have good experience with mobile development , i will be happy if i can help you with your project , so can you contact me to discuss?
thanks
Expérience et Compétences appropriées
i worked on a lot of ionic app and i'm very good with Angularjs , also i can manage backend using PHP/frameworks or Nodejs . please check my reviews , thanks
Étapes proposées
$45 USD - all
hello ,
i looked at your instruction for this project and i'm interested with that . based on the experience working my company that i'm handle this for part time job . if you need me just contact me
Relevant Skills and Experience
Framework
Proposed Milestones
$25 USD - research
can we discuss this job in personal chat ?
We have experts on Ionic framework, firebase, Angular-1,2 and 4
Relevant Skills and Experience
Ionic, Firebase, Angular
Proposed Milestones
$25 USD - Ionic