Skip to content

Instantly share code, notes, and snippets.

@heapwalker
heapwalker / setup.txt
Last active July 15, 2022 03:00
plantinspection-app
➜ plantinspection-app git:(main) ✗ npx react-native link
warn The following packages use deprecated "rnpm" config that will stop working from next release:
- react-native-code-push: https://microsoft.github.io/code-push
- rn-fetch-blob: https://npmjs.com/package/rn-fetch-blob
Please notify their maintainers about it. You can find more details at https://github.com/react-native-community/cli/blob/master/docs/configuration.md#migration-guide.
info Linking assets to ios project
info Linking assets to android project
success Assets have been successfully linked to your project
➜ plantinspection-app git:(main) ✗ npx react-native run-android
warn The following packages use deprecated "rnpm" config that will stop working from next release:
RNFBAnalytics: Using Firebase/AnalyticsWithoutAdIdSupport pod in place of default Firebase/Analytics
Using firebase.json from '/Users/ryan/workspace/gti/sportasone/firebase.json'
Adding a custom script phase for Pod RNFBApp: [RNFB] Core Configuration
Adding a custom script phase for Pod RNFBCrashlytics: [RNFB] Crashlytics Configuration
Auto-linking React Native modules for target `SportAsOne`: RNDateTimePicker, RNFBAnalytics, RNFBApp, RNFBAuth, RNFBCrashlytics, RNFBMessaging, RNFBPerf, RNFBStorage, RNGestureHandler, RNGoogleSignin, RNLocalize, RNReanimated, RNSVG, RNScreens, react-native-config, react-native-fbsdk-next, react-native-get-random-values, react-native-image-picker, react-native-pager-view, and react-native-safe-area-context
[Codegen] Generating ./build/generated/ios/React-Codegen.podspec.json
Analyzing dependencies
[Codegen] Found FBReactNativeSpec
/Users/ryan/workspace/gti/sportasone/node_modules/react-native/scripts/react_native_pods_utils/script_phases.rb:50: warning: Passing safe_level with t
@heapwalker
heapwalker / error.txt
Created May 24, 2022 15:13
Run `npx react-native run-android`, start app, then these errors appear
###### ######
### #### #### ###
## ### ### ##
## #### ##
## #### ##
## ## ## ##
## ### ### ##
## ######################## ##
###### ### ### ######
### ## ## ## ## ###
openapi: 3.0.0
info:
description: |
This is a sample Petstore server. You can find
out more about Swagger at
[http://swagger.io](http://swagger.io) or on
[irc.freenode.net, #swagger](http://swagger.io/irc/).
version: "1.0.0"
title: Sport in one
termsOfService: 'http://swagger.io/terms/'
@heapwalker
heapwalker / error.txt
Created May 5, 2022 02:46
Error from `npx react-native run-ios > ios.txt`
info Found Xcode workspace "SportAsOne.xcworkspace"
info Building (using "xcodebuild -workspace SportAsOne.xcworkspace -configuration Debug -scheme SportAsOne -destination id=D915A1E0-C85F-4BF9-BCFD-294FD9FD6EA9")
Command line invocation:
/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -workspace SportAsOne.xcworkspace -configuration Debug -scheme SportAsOne -destination id=D915A1E0-C85F-4BF9-BCFD-294FD9FD6EA9
User defaults from command line:
IDEPackageSupportUseBuiltinSCM = YES
Run pre-actions
@heapwalker
heapwalker / PublicUser.java
Last active December 8, 2016 02:59
To provide a java OO-styled class for reading / writing values to skygear `Record`. And make a Record `Parcelable`.
package com.example.sudoku;
import android.os.Parcel;
import android.os.Parcelable;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import io.skygear.meta.RecordWrapper;
import io.skygear.skygear.Record;