Skip to content

Instantly share code, notes, and snippets.

View surendharreddy's full-sized avatar

Surendhar Reddy surendharreddy

View GitHub Profile
@surendharreddy
surendharreddy / mutlidex-application.java
Created September 13, 2018 02:37
Add mutlidex support to react native android application
// Add `implementation 'com.android.support:multidex:1.0.3'` to dependencies in android/app/build.gradle
// Update MainApplication.java with following code with following
import android.support.multidex.MultiDexApplication;
public class MainApplication extends MultiDexApplication implements ReactApplication {
private final ReactNativeHost mReactNativeHost = new ReactNativeHost(this) {
@Override
protected List<ReactPackage> getPackages() {
@surendharreddy
surendharreddy / checkIosProvisiongProfile.md
Created September 7, 2018 02:57 — forked from akofman/checkIosProvisiongProfile.md
Check devices in a provisioning profile

After exporting an ipa for Ad Hoc Deployment, it could be useful to check if all authorized devices are well configured in a provisioning profile. To read a provisioning profile you have to unarchive your ipa :

$ unzip your.ipa

find the embedded.mobileprovision file :

$ ls yourUnzippedIpa/Payload/appName.app/embedded.mobileprovision
@surendharreddy
surendharreddy / robots.txt
Created July 10, 2018 20:21
Adding robots.txt file to sites
## Add this to not index site
User-agent: *
Disallow: /
## Add this to index everything for every use agent
User-agent: *
Disallow:
@surendharreddy
surendharreddy / Common-Currency.json
Last active August 4, 2017 07:56 — forked from ksafranski/Common-Currency.json
Common Currency Codes in JSON
{
"USD": {
"symbol": "$",
"name": "US Dollar",
"symbol_native": "$",
"decimal_digits": 2,
"rounding": 0,
"code": "USD",
"name_plural": "US dollars"
},
@surendharreddy
surendharreddy / react-native-maps-enable-google-maps-instructions.md
Created February 28, 2017 10:43 — forked from heron2014/react-native-maps-enable-google-maps-instructions.md
Visual instructions how to enable Google Maps on IOS using react-native-maps

Visual instructions how to enable Google Maps on IOS using react-native-maps

This is for my personal use, things might not be correctly explained here. For the official docs please check https://github.com/airbnb/react-native-maps

Steps from scratch:

1.react-native init GoogleMapPlayground

2. cd GoogleMapPlayground