Skip to content

Releases: raweng/BuiltIOBackend-Android

v3.1.0

18 Dec 09:07
Compare
Choose a tag to compare

Date: 24-November-2016

New Features:

*Added BuiltUserRoleMapper class.

*BuiltApplication
	1] Added 'userRoleMapper()' method.
	2] Added 'userRoleMapper(String uid)' method.

*BuiltObject
	1] Added 'addUpsertForReferences(String key, HashMap<String, Object> conditionFieldValues, HashMap<String, Object> newFieldValues)' method.

*BuiltRole
	1] Added 'setUsersWithQuery(BuiltQuery query)' method.

*BuiltUser
	1] Added 'getLastLoginAt()' method. 	

*BuiltGroup
	1] Added 'upsertForReferences(String key, HashMap<String, Object> conditionFieldValues, HashMap<String, Object> newFieldValues)' method.	

API Modifications:

*None	

API Deprecation:

*BuiltPresence
	1] Removed 'addInWhiteList(String[] userUidList)' method.
	2] Removed 'addInWhiteList(ArrayList<BuiltUser> userUidList)' method.
	3] Removed 'removeFromWhiteList(String userUid)' method.
	4] Removed 'removeFromWhiteList(BuiltUser user)' method.
	5] Removed 'getCustomProperties()' method.
	6] Removed 'setCustomProperties(HashMap<String, Object> hashMap)' method.
	7] Removed 'getStatusMessage()' method.
	8] Removed 'setStatusMessage(String message)' method.
	9] Removed 'isPublic()' method.
   10] Removed 'setPublic(boolean privacyType)' method.
   11] Removed 'getRequests()' method.
   12] Removed 'getWhiteListUsers()' method.
   13] Removed 'acceptRequests()' method.

Bug Fixes:

*None

v3.0.0

18 Dec 09:06
Compare
Choose a tag to compare

Date: 26-October-2016

New Features:

*Added android wear support from wear version 1.4.

API Modifications:

* Renamed QueryResult class to BuiltQueryResult.
* Renamed ResponseType enum to BuiltResponseType.

*BuiltApplication
	 1] Rename 'fetchClassesSchemaInBackground()' method to 'fetchClassesSchema()' 
	 2] Rename 'fetchLastActivitiesInBackground()' method to 'fetchLastActivities()' 
	 3] Rename 'fetchInfoInBackground()' method to 'fetchInfo()' 

*BuiltClass
	 1] Rename 'fetchSchemaInBackground()'	method to 'fetchSchema()'

*BuiltInstallation
	 1] Rename 'createInstallationInBackground(String deviceToken, ArrayList<String> installationChannels)' method to  'createInstallation(String deviceToken, ArrayList<String> installationChannels)'

	 2] Rename 'destroyInBackground()' method to 'destroy()'
	 3] Rename 'updateInstallationInBackground(String deviceToken)' method to 'updateInstallation(String deviceToken)'
	 4] Rename 'subscribeToChannelsInBackground(ArrayList<String> installationChannels)' method to 'subscribeToChannels(ArrayList<String> installationChannels)'
	 5] Rename 'unsubscribeToChannelsInBackground(ArrayList<String> installationChannels)' method to ''unsubscribeToChannels(ArrayList<String> installationChannels)''

*BuiltObject
	 1] Rename 'saveInBackground()' method to 'save()'
	 2] Rename 'saveEventuallyInBackground()' method to 'saveEventually()'		 
	 3] Rename 'saveAsDraftInBackground()' method to 'saveAsDraft()'		 
	 4] Rename 'saveAsDraftEventuallyInBackground()' method to 'saveAsDraftEventually()'		 
	 5] Rename 'fetchInBackground()' method to 'fetch()'		 
	 6] Rename 'destroyInBackground()' method to 'destroy()'		 
	 7] Rename 'destroyEventuallyInBackground()' method to 'destroyEventually()'		 
	 
*BuiltUpload
	 1] Rename 'destroyInBackground()' method to 'destroy()'
	 2] Rename 'fetchInBackground()' method to 'fetch()'	 	
	 3] Rename 'fetchAllInBackground()' method to 'fetchAll()'		 	
	 4] Rename 'fetchImagesInBackground()' method to 'fetchImages()'		 	
	 5] Rename 'fetchVideosInBackground()' method to 'fetchVideos()'		 	
	 6] Rename 'fetchAllTagsInBackground()'	method to 'fetchAllTags()'

*BuiltUser		 
	 1] Rename 'destroyEventuallyInBackground()' method to 'destroyEventually()'
	 2] Rename 'destroyInBackground()' method to 'destroy()'	 
	 5] Rename 'loginInBackground(String email, String password)' method to 'login(String email, String password)'
	 6] Rename 'loginWithGoogleAccessTokenInBackground(String accessToken)' method to 'loginWithGoogleAccessToken(String accessToken)'
	 7] Rename 'loginWithFacebookAccessTokenInBackground(String accessToken)' method to 'loginWithFacebookAccessToken(String accessToken)'
	 8] Rename 'loginWithTwitterAccessTokenInBackground(String accessToken, String accessTokenSecret, String consumerKey, String consumerSecret)' method to 'loginWithTwitterAccessToken(String accessToken, String accessTokenSecret, String consumerKey, String consumerSecret)'
	 9] Rename 'refreshUserInfoInBackground()' method to 'refreshUserInfo()'
	10] Rename 'fetchInBackground()' method to 'fetch()'
	11] Rename 'saveInBackground()' method to 'save()'
	12] Rename 'registerInBackground()' method to 'register()'
	13] Rename 'updateUserInfoInBackground()' method to 'updateUserInfo()'
	14] Rename 'logoutInBackground()' method to 'logout()'
	15] Rename 'deactivateInBackground()' method to 'deactivate()'
	16] Rename 'activateUserInBackground(String userUid, String activationToken)' method to 'activateUser(String userUid, String activationToken)'
	17] Rename 'fetchUserUidForEmailInBackground(String emailId)' method to 'fetchUserUidForEmail(String emailId)'
	18] Rename 'fetchUserUidForGoogleEmailInBackground(String emailId)' method to 'fetchUserUidForGoogleEmail(String emailId)'
	19] Rename 'fetchUserUidForFacebookInBackground(String userId)' method to 'fetchUserUidForFacebook(String userId)'
	20] Rename 'fetchUserUidForTwitterInBackground(String userId)' method to 'fetchUserUidForTwitter(String userId)'
	21] Rename 'forgotPasswordInBackground(String emailId)' method to 'forgotPassword(String emailId)'

*BuiltExtension
	 1] Rename 'executeInBackground(String functionName, HashMap<String, Object> properties)' method to 'execute(String functionName, HashMap<String, Object> properties)'
	 2] Rename 'executeInBackground(String functionName)' method to 'execute(String functionName)'

*BuiltQuery
	 7] Rename 'execInBackground()' method to 'exec()'
	 8] Rename 'fetchAllTagsInBackground()'	method to 'fetchAllTags()'	 

API Deprecation:

* Removed deprecated class 'BuiltSynchronousResponse' 
* Removed deprecated class 'BuiltNotification' 

*Built
	 1] Removed deprecated method 'application(Context context, String apiKey, String host)'
	 2] Removed deprecated method 'application(Context context, String apiKey, String host, boolean isSSL)'

*BuiltApplication
	 1] Removed deprecated method 'setURL(String hostName, boolean isSSL)'
	 2] Removed deprecated method 'setRealTimeURL(String hostName, boolean isSSL)'
	 3] Removed deprecated method 'getURL()'	
	 4] Removed deprecated method 'getRealTimeURL()'	 
	 5] Removed deprecated method 'getRealTimePort()'
	 6] Removed deprecated method 'setRealTimePort(int port)'
	 7] Removed deprecated method 'getVersion()'
	 8] Removed deprecated method 'setVersion(String version)'
	 9] Removed deprecated method 'notification()'
	10] Removed deprecated method 'fetchClassesSchema()'
	11] Removed deprecated method 'fetchLastActivities()'
	12] Removed deprecated method 'fetchInfo()'

*BuiltClass
	 1] Removed deprecated method 'fetchSchema()'	

*BuiltInstallation
	 1] Removed deprecated method 'createInstallation(String deviceToken, ArrayList<String> installationChannels)'	 
	 2] Removed deprecated method 'destroy()'
	 3] Removed deprecated method 'updateInstallation(String deviceToken)'
	 4] Removed deprecated method 'subscribeToChannels(ArrayList<String> installationChannels)'
	 5] Removed deprecated method 'unsubscribeToChannels(ArrayList<String> installationChannels)'

*BuiltObject
	 1] Removed deprecated method 'pushValue(String key, Object value, int index)'
	 2] Removed deprecated method 'pullValueAtIndex(String key, int index)'
	 3] Removed deprecated method 'save()'
	 4] Removed deprecated method 'saveEventually()'
	 5] Removed deprecated method 'saveAsDraft()'
	 6] Removed deprecated method 'saveAsDraftEventually()'
	 7] Removed deprecated method 'fetch()'
	 8] Removed deprecated method 'destroy()'
	 9] Removed deprecated method 'destroyEventually()'
	10] Removed deprecated method 'multiply(String key, int value)'
	11] Removed deprecated method 'divide(String key, int value)'
	12] Removed deprecated method 'upsertForReference(String key, String referenceKey, Object referenceValue, HashMap<String, Object> newFieldValue)'
	13] Removed deprecated method 'setReferenceWithObject(String key, Object value)'
	14] Removed deprecated method 'setReference(String key, Object value)'

*BuiltRole
	 1] Removed deprecated method 'getRolesQuery()'	
	 
*BuiltUpload
	 1] Removed deprecated method 'destroy()'
	 2] Removed deprecated method 'fetch()'		 	
	 3] Removed deprecated method 'fetchAll()'		 	
	 4] Removed deprecated method 'fetchImages()'		 	
	 5] Removed deprecated method 'fetchVideos()'		 	
	 6] Removed deprecated method 'fetchAllTags()'	

*BuiltUser		 
	 1] Removed deprecated method 'destroyEventually()'	 	
	 2] Removed deprecated method 'destroy()'
	 3] Removed deprecated method 'requestPresence(BuiltResultCallBack callBack)'
	 4] Removed deprecated method 'getUsersQuery()'
	 5] Removed deprecated method 'login(String email, String password)'
	 6] Removed deprecated method 'loginWithGoogleAccessToken(String accessToken)'
	 7] Removed deprecated method 'loginWithFacebookAccessToken(String accessToken)'
	 8] Removed deprecated method 'loginWithTwitterAccessToken(String accessToken, String accessTokenSecret, String consumerKey, String consumerSecret)'
	 9] Removed deprecated method 'refreshUserInfo()'
	10] Removed deprecated method 'fetch()'
	11] Removed deprecated method 'save()'
	12] Removed deprecated method 'register()'
	13] Removed deprecated method 'updateUserInfo()'
	14] Removed deprecated method 'logout()'
	15] Removed deprecated method 'deactivate()'
	16] Removed deprecated method 'activateUser(String userUid, String activationToken)'
	17] Removed deprecated method 'fetchUserUidForEmail(String emailId)'
	18] Removed deprecated method 'fetchUserUidForGoogleEmail(String emailId)'
	19] Removed deprecated method 'fetchUserUidForFacebook(String userId)'
	20] Removed deprecated method 'fetchUserUidForTwitter(String userId)'
	21] Removed deprecated method 'forgotPassword(String emailId)'

*BuiltExtension
	 1] Removed deprecated method 'execute(String functionName, HashMap<String, Object> properties)'	
	 2] Removed deprecated method 'execute(String functionName)'	

*BuiltQuery
	 1] Removed deprecated method 'afterUid(String uid)'
	 2] Removed deprecated method 'beforeUid(String uid)'
	 3] Removed deprecated method 'except(ArrayList<String> fieldUid)'
	 4] Removed deprecated method 'onlyWithReferenceUid(ArrayList<String> fieldUid, String referenceFieldUid)'
	 5] Removed deprecated method 'only(ArrayList<String> fieldUid)'
	 6] Removed deprecated method 'includeReference(ArrayList<String> keys)'
	 7] Removed deprecated method 'exec()'
	 8] Removed deprecated method 'fetchAllTags()'		 

*BuiltGroup
	 1] Removed deprecated method 'pushValue(String key, Object value, int index)' 	
	 2] Removed deprecated method 'pullValueAtIndex(String key, int index)'	

*BuiltPresence
	 1] Removed deprecated method 'removeFromWhiteList(Object user)'

*BuiltImag...
Read more

v2.2.1

18 Dec 09:06
Compare
Choose a tag to compare

Date: 14-June-2016

New Features:

*None

API Modifications:

*None

API Deprecation:

*BuiltObject
	 1] Deprecated method 'pushValue(String key, Object value, int index)'
	 2] Deprecated method 'pullValueAtIndex(String key, int index)'

*BuiltGroup
	 1] Deprecated method 'pushValue(String key, Object value, int index)' 	
	 2] Deprecated method 'pullValueAtIndex(String key, int index)'	 

Bug Fixes:

*Improvements in method info of BuiltQuery and BuiltInstallation classes.

v2.2.0

18 Dec 09:05
Compare
Choose a tag to compare

Date: 18-April-2016

New Features:

* Added class 'BuiltConfig' 
* Added class 'BuiltSyncResult' 
* Added class 'BuiltKeyStore'

*Built
	 1] Added method 'application(Context context, java.lang.String apiKey, BuiltConfig config)'

*BuiltApplication
	 1] Added method 'sync(BuiltAppSyncCallback appSyncCallback, BuiltClassSyncCallback syncCallback)'		 
	 2] Added method 'sync(java.lang.Object dateObject, BuiltAppSyncCallback appSyncCallback, BuiltClassSyncCallback syncCallback)'		 
	 3] Added method 'syncExcept(java.lang.String[] exceptClassUid, BuiltAppSyncCallback appSyncCallback, BuiltClassSyncCallback syncCallback)'		 
	 4] Added method 'syncExcept(String[] exceptClassUid, Object dateObject, BuiltAppSyncCallback appSyncCallback, BuiltClassSyncCallback syncCallback)'		
	 5] Added method 'syncOnly(java.lang.String[] onlyClassUid, BuiltAppSyncCallback appSyncCallback, BuiltClassSyncCallback syncCallback)'
	 6] Added method 'syncOnly(String[] onlyClassUid, Object dateObject, BuiltAppSyncCallback appSyncCallback, BuiltClassSyncCallback syncCallback)'
	 7] Added method 'keyStore()'
	 8] Added method 'clearOfflineData()'
	 9] Added method 'clearOfflineData(java.lang.String[] exceptClassUid, java.lang.String[] onlyClassUid)'

*BuiltObject
	 1] Added method 'offline()'	 
  
*BuiltQuery
	 1] Added method 'offline()'
	 
*BuiltConstant
	 1] Added Constant 'KEY_CREATED'
	 2] Added Constant 'KEY_DELETED'
	 3] Added Constant 'KEY_UPDATED'
	 4] Added Constant 'KEY_ERROR'

API Modifications:

*None

API Deprecation:

*Built
	 1] Deprecated method 'application(Context context, String apiKey, String host)'
	 2] Deprecated method 'application(Context context, String apiKey, String host, boolean isSSL)'
	 3] Removed method 'disableUserMetrics()'
	 
*BuiltApplication
	 1] Deprecated method 'getRealTimePort()' 	
	 2] Deprecated method 'getRealTimeURL()'	
	 3] Deprecated method 'getURL()'	 
	 4] Deprecated method 'setRealTimePort(int port)'
	 5] Deprecated method 'setRealTimeURL(java.lang.String hostName, boolean isSSL)'
	 6] Deprecated method 'setURL(java.lang.String hostName, boolean isSSL)'
	 7] Deprecated method 'setVersion(java.lang.String version)'
	 8] Deprecated method 'notification()'

*BuiltObject
	 1] Deprecated method 'multiply(java.lang.String key, int value)'
	 2] Deprecated method 'divide(java.lang.String key, int value)'

*BuiltQuery
	 1] Deprecated method 'afterUid(java.lang.String uid)' 	
	 2] Deprecated method 'beforeUid(java.lang.String uid)'

*Deprecated class BuiltSynchronousResponse 		 

*Deprecated class BuiltNotification

Bug Fixes:

*None

v2.1.2

18 Dec 09:04
Compare
Choose a tag to compare

Date: 02-September-2015

New Features:

*None

API Modifications:

*None

API Deprecation:

*None

Bug Fixes:

*fixed issues of realtime.

v2.1.1

18 Dec 09:03
Compare
Choose a tag to compare

Date: 19-August-2015

New Features:

*BuiltObject
	 1] Added method 'except(String[])'
	 2] Added method 'only(String[])'
	 3] Added method 'onlyWithReferenceUid(String[], String)'
	 3] Added method 'exceptWithReferenceUid(String[], String)'
  
*BuiltQuery
	 1] Added method 'except(String[])'
	 2] Added method 'onlyWithReferenceUid(String[], String)'
	 3] Added method 'exceptWithReferenceUid(String[], String)'

API Modifications:

*None

API Deprecation:

*BuiltQuery
	 1] Deprecated method 'except(ArrayList<String>)'
	 2] Deprecated method 'onlyWithReferenceUid(ArrayList<String>, String)'

Bug Fixes:

*fixed issues of api docs snippets of BuiltQuery.

v2.1.0

18 Dec 09:02
Compare
Choose a tag to compare

Date: 21-July-2015

New Features:

*Built
	1] Added class method 'application(Context, String, String)'
	2] Added class method 'application(Context, String, String, boolean)'
	3] Added class method 'disableUserMetrics()'
	4] Added class method 'isNetworkAvailable(Context, BuiltNetworkAvailableCallback)'

*BuiltRole:
	1] Added methods 'addUsers(String[])' and 'addUsers(ArrayList<BuiltUser>)'
	2] Added methods 'addRoles(String[])' and 'addRoles(ArrayList<BuiltRole>)'
	3] Added method  'removeUsers(String[])'
	4] Added method  'removeRoles(String[])'

*BuiltACL:
	1] Added method 'setAnonymousReadAccess(boolean)' 
	2] Added method 'setAnonymousWriteAccess(boolean)'
	3] Added method 'setAnonymousDeleteAccess(boolean)'
	4] Added method 'getAnonymousReadAccess()'
	5] Added method 'getAnonymousWriteAccess()'
	6] Added method 'getAnonymousDeleteAccess()'

*BuiltApplication:
	1] Added method  'trackAnonymously(boolean)' 
	2] Added methods 'fetchClassesSchema()' and 'fetchClassesSchemaInBackground(BuiltFetchSchemaCallback)'


*BuiltAnalytics:
	1] Added method 'setDynamicProperties(BuiltDynamicPropertiesCallback)'	

*BuiltObject:
	1] Added method  'addUpsertForReference(String, HashMap<String, Object>, HashMap<String, Object>)'
	2] Added methods 'addGroup(BuiltGroup)' and 'addGroup(BuiltGroupMultiple)'
	3] Added methods 'includeReference(String)  and includeReference(String[])
	4] Added methods 'setReferenceWithObject(String, BuiltObject)' and 'setReferenceWithObject(String, ArrayList<BuiltObject>)'
	5] Added methods 'setReference(String key, String value)' and 'setReference(String key, String[] value)'

*BuiltQuery:
	1] Added method  'setRawQuery(String)'
	2] Added method  'only(String[])'	
	3] Added methods 'includeReference(String)' and 'includeReference(String[])'

*BuiltPresence:
	1] Added methods 'addInWhiteList(String[])' and 'addInWhiteList(ArrayList<BuiltUser>)'
	2] Added methods 'removeFromWhiteList(String)' and 'removeFromWhiteList(BuiltUser)'

*BuiltGroup:
	1] new class introduced	

*BuiltGroupMultiple:
	1] new class introduced	

*BuiltImageView
	1] Added method 'setApplication(Context, BuiltApplication)'

*BuiltLoginUIController
	1] Added method 'setApplication(BuiltApplication)'
	2] Made layout variables public for edit

*BuiltSignUpUIController
	1] Added method 'setApplication(BuiltApplication)'		
	2] Made layout variables public for edit

*BuiltUIListViewController
	1] Added constructor 'BuiltUIListViewController(Context, BuiltClass)' and 'BuiltUIListViewController(Context, BuiltApplication, String)'

API Modifications:

*BuiltUser
	1] renamed method 'requestPresence(BuiltResultCallBack)' to 'requestPresenceAccess(BuiltResultCallBack)'
	
*BuiltRole
	1] removed method 'addUser(ArrayList<Object>)'
	2] removed method 'addRole(ArrayList<Object>)'

API Deprecation:

*BuiltApplication:
	1] Deprecated method 'setURL(String, boolean)'	

*BuiltObject:
	1] Deprecated method 'upsertForReference(String, String, Object, HashMap<java.lang.String, java.lang.Object>)'
	2] Deprecated method 'setReference(String, Object)'
	3] Deprecated method 'setReferenceWithObject(String, Object)'                   

*BuiltUser:
	1] Deprecated method 'requestPresence(BuiltResultCallBack)'
	2] Deprecated method 'getUsersQuery()'

*BuiltQuery:
	1] Deprecated method 'includeReference(ArrayList)'
	2] Deprecated method 'only(ArrayList)'

*BuiltRole
	1] Deprecated method 'getRolesQuery()'

*BuiltPresence:
	1] Deprecated method 'removeFromWhiteList(Object)'	

*BuiltImageView:
	1] Deprecated method 'setApplicationKey(Context, String)'

*BuiltUISignUpController:
	1] Deprecated method 'setApplicationKey(String)'

*BuiltUILoginController
	1] Deprecated method 'setApplicationKey(String)'

*BuiltUIListViewController
	1] Deprecated constructor 'BuiltUIListViewController(Context, String, String'

Bug Fixes:

*fixed issues of api docs snippets.	

*fixed issue regarding UIControllers unable to point different built io backend servers.

v2.0.0

18 Dec 09:01
Compare
Choose a tag to compare

Date: 11-May-2015

Changes :

  • New structure
  • Points to Built.io Backend API version v2