A simple news app getting data from the news api and showcasing using the MVVM architechture pattern. Following a single actvity design, Coroutines, NDK to store API Key, Retrofit, Navigation Components, Webkit, Preferences DataStore, Lottie animations, Linting, Firebase Crashlytics & Performance Monitoring
- Add your API KEY from newsapi.org it is free and easy can be obtained
../src/main/jni/api-keys.c #include <jni.h> JNIEXPORT jstring JNICALL Java_com_debanshu777_newsapp_util_Constant_00024Companion_getKeys(JNIEnv *env, jobject thiz) { return (*env)->NewStringUTF(env, "<YOUR-API-KEY>"); }
- Add file "github.properties" add two variable
gpr.usr = ADD-GITHUB-USER-ID //get id from the link https://api.github.com/users/GITHUB-USER-NAME <br>
gpr.key = GITHUB-PERSONAL-TOKEN //Make a github personal access token Settings/ Developer settings/Personal access tokens
- For Firebase Integration build a new project If you havn't in firebase-console, add your add get the "google-services.json" replace the already present. Refer to this video for more info
Awesome! If you want to contribute to this project, you're always welcome! Have any questions, doubts or want to present your opinions, views? You're always welcome. You can mail me at [email protected] or make an issue.
Copyright 2021 Debanshu Datta
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.