Read about the particle and how to dump code into the device here https://docs.particle.io/guide/getting-started/intro/photon/
These are a simple cloud functions which control the device based on the instructions written.
Read about the particle and how to dump code into the device here https://docs.particle.io/guide/getting-started/intro/photon/
These are a simple cloud functions which control the device based on the instructions written.
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
{ | |
"USD": { | |
"symbol": "$", | |
"name": "US Dollar", | |
"symbol_native": "$", | |
"decimal_digits": 2, | |
"rounding": 0, | |
"code": "USD", | |
"name_plural": "US dollars" | |
}, |
## Add this to not index site | |
User-agent: * | |
Disallow: / | |
## Add this to index everything for every use agent | |
User-agent: * | |
Disallow: |
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
// 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() { |
/* Add following dependency to dependencies in android/app/build.gradle */
implementation 'com.android.support:multidex:1.0.3'
Import the following dependencies in MainApplication.java
import android.support.multidex.MultiDex;
import android.content.Context;
and add
// The trick is to link the DeviceSupport folder from the beta to the stable version. | |
// Updated on Oct 9th, 2018 for Xcode 10 | |
ln -s /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/12.1\ \(16B5068g\) /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport | |
// Then restart Xcode and reconnect your devices. You will need to do that for every beta of future iOS versions | |
// sudo needed if you run the Mac App Store version. Always download the dmg instead... you'll thank me later :) |
$ git remote rm origin | |
$ git remote add origin git@github.com:aplikacjainfo/proj1.git | |
$ git config master.remote origin | |
$ git config master.merge refs/heads/master |