Skip to content

App Initialization

Support for application versions has been removed in Backendless v4. As an alternative to versions, it is recommended to create multiple copies of the same application and export/import data between the apps. As a result of the version support removal, application initialization in the code does not require version name in the initApp call.

Version 3.x

// Android applications
Backendless.initApp( Context androidAppContext, 
                     String applicationID, 
                     String secretKey, 
                     String versionName );

// Java applications
Backendless.initApp( String applicationID, 
                     String secretKey, 
                     String versionName );

Version 5.x

// Android applications
Backendless.initApp( Context androidAppContext, 
                     String applicationID, 
                     String secretKey );

// Java applications
Backendless.initApp( String applicationID, 
                     String secretKey );

Important

Notice that version 5 uses the term "API key" for the concept we used to call "secret key".