Skip to content

Instantly share code, notes, and snippets.

View saeedata's full-sized avatar

S.Saeed Hashemi saeedata

View GitHub Profile
@saeedata
saeedata / gitlab-ci(docker)
Created January 23, 2022 07:20
instruction to setup gitlab ci/cd for android projects
1- script for gitlab-ci.yml
/////////////////////////////// gitlab-ci.yml ///////////////////////////////
image: openjdk:11-jdk
stages:
- build
- deploy
.pre_job:
@saeedata
saeedata / SMS retriever hash
Last active December 16, 2021 09:30
generate hash for sms retriever api to read otp sms without permission
package ir.appp.utils
import android.annotation.TargetApi
import android.content.Context
import android.content.ContextWrapper
import android.content.pm.PackageManager
import android.util.Base64
import android.util.Log
import java.nio.charset.StandardCharsets
import java.security.MessageDigest