In this recipe, we will create a notification component from scratch. When showing the notification, the component will slide in from the top of the screen; after a few seconds, we will automatically hide it by sliding it out.
We are going to create an app called
NotificationsApp. You can use any other name that you like, just make sure to use the correct name when registering the bootstrap component in step number 2.
srcfolder at the root of the project, inside of this we will create a
MainApp.jsfile and a
Notificationfolder. Inside the
Notificationfolder we need to create an
index.android.jsfiles, remove the existing code ...