This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Top-level build file where you can add configuration options common to all sub-projects/modules. | |
buildscript { | |
repositories { | |
google() | |
jcenter() | |
} | |
dependencies { | |
classpath 'com.android.tools.build:gradle:3.2.1' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
buildscript { | |
repositories { | |
google() | |
jcenter() | |
} | |
dependencies { | |
classpath 'com.android.tools.build:gradle:3.2.1' | |
classpath 'com.github.triplet.gradle:play-publisher:1.1.5 //add the classpath for Gradle Play Publisher Plugin | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
android { | |
... | |
defaultConfig { ... } | |
signingConfigs { | |
release { | |
// You need to specify either an absolute path or include the | |
// keystore file in the same directory as the build.gradle file. | |
storeFile file("my-release-key.jks") | |
storePassword "password" | |
keyAlias "my-alias" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
android { | |
... | |
} | |
play { | |
track = 'alpha' // set track for playstore like 'production','beta','alpha' | |
serviceAccountEmail = 'fastlenesa@api-xxxxxxxxxxxxxxx-xxxxxx.iam.gserviceaccount.com' //paste your service account email | |
jsonFile = file('/PlayJson/play-store-key.json') // copy this line as it is do not modify | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
image: openjdk:8-jdk #Defining the Docker Image | |
variables: | |
ANDROID_COMPILE_SDK: "28" #set compile SDK version | |
ANDROID_BUILD_TOOLS: "28.0.2" #set build tool version | |
ANDROID_SDK_TOOLS: "4333796" #set SDK tool build number you can find yous here https://developer.android.com/studio/releases/sdk-tools | |
before_script: | |
#Installing Packages | |
- apt-get --quiet update --yes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
build_release_android: | |
stage: build_release_android | |
script: | |
- mkdir /PlayJson #make temp directory named PlayJson in root of project | |
- "echo $PLAY_STORE_JSON > /PlayJson/play-store-key.json" # copy git variable value to play-store-key.json file | |
- ./gradlew publishApkRelease # command to publish app on play store | |
only: | |
- master #set trigger for CICD if push or merge in master branch | |
artifacts: | |
paths: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
image: openjdk:8-jdk #Defining the Docker Image | |
variables: | |
ANDROID_COMPILE_SDK: "28" #set compile SDK version | |
ANDROID_BUILD_TOOLS: "28.0.2" #set build tool version | |
ANDROID_SDK_TOOLS: "4333796" #set SDK tool build number you can find yous here https://developer.android.com/studio/releases/sdk-tools | |
before_script: | |
# Fetch the specified SDK tools version to build with | |
- wget --quiet --output-document=/tmp/sdk-tools-linux.zip https://dl.google.com/android/repository/sdk-tools-linux-${ANDROID_SDK_TOOLS}.zip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "AppName", | |
"version": "0.0.1", | |
"private": true, | |
"scripts": { | |
"start": "node node_modules/react-native/local-cli/cli.js start", | |
"test": "jest", | |
"clear-watch": "watchman watch-del-all && watchman shutdown-server", | |
"ios-bundle": "react-native bundle --dev false --entry-file index.ios.js --bundle-output ios/main.jsbundle --platform ios", | |
"ios-build": "react-native run-ios --configuration Release", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, {Component} from 'react'; | |
/*Components*/ | |
import {Animated, View, StatusBar, Text, Image, Platform, StyleSheet, Linking, TouchableOpacity} from 'react-native'; | |
import Icons from 'react-native-vector-icons/MaterialCommunityIcons'; | |
import MaterialAnimatedView from 'src/component/MaterialAnimatedView'; | |
/*utils*/ | |
import styles from './style'; | |
import {ThemeUtils, Color} from 'src/utils'; | |
/*Data*/ | |
import artistData from 'src/assets/data/SongData'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
constructor(props) { | |
super(props); | |
this.state = { | |
scrollY: new Animated.Value(0) | |
}; | |
} |
OlderNewer