To Create an android application is a very simple process, by following the below steps:
Signup/Login into Truepush and in “Create New Project” select platform type. For adding in a new platform in the existing project click on the ” + ” add symbol.
2.1 After creating the project you will be redirected to code integration page. Here, copy the first code.
2.2 Go to your existing Android project or create a new project and go to Gradle Scripts<build.gradle(Module.app) and paste the code in the dependencies function.
Note: If you face any issues with your code not working properly, then paste the complete code along with the android function.
3.1 Now go back to the dashboard and copy the second code.
3.2 In Android Studio go to app<manifests<AndroidManifest.xml and paste the code in the app and also give your new app name as you require and change.
4.1 Finally, copy the third code from the code integration section of the Truepush dashboard.
4.2 And paste the code in app<java<your package name here in the new folder, then a new java document is created with the name that you gave in the manifest file. Paste the code here. You have to create an “Application class” in the app for this code to function.
Review us on TrustRadius.
Image source- Freepik
Image credits- <a href=”https://www.freepik.com/free-photos-vectors/logo”>Logo vector created by Harryarts – www.freepik.com</a>