Skip to content

Instantly share code, notes, and snippets.

Avatar
💥
shipit

Ioannis Kokkinidis SudoPlz

💥
shipit
View GitHub Profile
View @react-native-community+datetimepicker+3.4.0
diff --git a/node_modules/@react-native-community/datetimepicker/ios/RNDateTimePickerManager.m b/node_modules/@react-native-community/datetimepicker/ios/RNDateTimePickerManager.m
index d1cd1cd..817f6c9 100644
--- a/node_modules/@react-native-community/datetimepicker/ios/RNDateTimePickerManager.m
+++ b/node_modules/@react-native-community/datetimepicker/ios/RNDateTimePickerManager.m
@@ -31,13 +31,16 @@ @implementation RCTConvert(UIDatePicker)
@end
-@implementation RNDateTimePickerManager
+@implementation RNDateTimePickerManager {
@SudoPlz
SudoPlz / acuity.php
Last active Jan 14, 2021
A sentinel implementation that showcases the deep link redirection issue that's blocking our android users from logging in with third party credentials. To use this you must change your hosts file so that the following domains redirect to localhost.
View acuity.php
<?php
sleep(2);
header('Location: acuityscheduling://instant-link?code=ud3xAkmdDISZRIJ6L0g1vdwh6sqQsUYxb8DxJu6M&state=eWdBYWNuV0FkT0R5U3l0TGUveWNRQVBEaWN6RnN4S2ZMeGoyRzRqZzVFVT06eyJ1IjowLCJ4IjoxNjEwNzQ2ODQ4LCJuIjoiYjcyZjVkMzYifQ%3D%3D', true, 303);
?>
View square error stacktrace
com.squareup.cardreader.CardReaderAssertException ../../lib/cardreader/src/cr_coredump_feature.c:103. Condition: (coredump->data_buf_ofs + coredump_data->bytes.size) <= coredump->data_buf_size. Message:
../../lib/cardreader/src/cr_coredump_feature.c:103 ../../lib/cardreader/src/cr_coredump_feature.c.NativeMethod
CardReaderAssertException.kt:30 com.squareup.cardreader.CardReaderAssertException$Companion.handleAssert
Unknown:2 com.squareup.cardreader.CardReaderAssertException.handleAssert
BleBackendNativeJNI.java:-2 com.squareup.cardreader.lcr.BleBackendNativeJNI.ble_received_data_from_characteristic_data
BleBackendNative.java:30 com.squareup.cardreader.lcr.BleBackendNative.ble_received_data_from_characteristic_data
BleBackendNativePassthrough.java:32 com.squareup.cardreader.lcr.BleBackendNativePassthrough.ble_received_data_from_characteristic_data
BleBackendLegacy.java:109 com.squareup.cardreader.ble.BleBackendLegacy.lambda$onDataReceived$0$BleBackendLegacy
Unknown:4 com.squar
View square error crash stacktrace
NSInternalInconsistencyException SQUARE DATA ERROR: Could not add persistent store for LOBLogEventDataStoreController due to Error Domain=NSSQLiteErrorDomain Code=13 "(null)" UserInfo={NSFilePath=/var/mobile/Containers/Data/Application/47AE75DE-B7F2-4B86-8B45-89DDFE0234AD/Library/Application Support/SquareReaderSDK/LogEvent.sqlite, NSSQLiteErrorDomain=13}.
Frameworks/CoreFoundation.framework/CoreFoundation ___exceptionPreprocess
/usr/lib/libobjc.A.dylib _objc_exception_throw
Frameworks/CoreFoundation.framework/CoreFoundation +[NSException raise:format:arguments:]
Frameworks/Foundation.framework/Foundation -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:]
Frameworks/SquareReaderSDK.framework/SquareReaderSDK SQRDCurrencyCodeGetISOCurrencyCode
Frameworks/SquareReaderSDK.framework/SquareReaderSDK SQRDCurrencyCodeGetISOCurrencyCode
Frameworks/SquareReaderSDK.framework/SquareReaderSDK SQRDCurrencyCodeGetISOCurrencyCode
Frameworks/SquareReaderSDK.framewo
View react-native-navigation6.9.0.patch
diff --git a/node_modules/react-native-navigation/ReactNativeNavigation.podspec b/node_modules/react-native-navigation/ReactNativeNavigation.podspec
index e960e50..2ad453a 100644
--- a/node_modules/react-native-navigation/ReactNativeNavigation.podspec
+++ b/node_modules/react-native-navigation/ReactNativeNavigation.podspec
@@ -33,7 +33,5 @@ Pod::Spec.new do |s|
end
s.dependency 'React'
- s.dependency 'React-RCTImage'
- s.dependency 'React-RCTText'
View A typical ld: library not found for -lReact clang: error:
Ld /Users/sudoplz/Library/Developer/Xcode/DerivedData/MySuperApp-haxjchilyksewvdfcnnxwrulvyvy/Build/Products/Debug-iphonesimulator/MySuperApp.app/MySuperApp normal x86_64
cd /Users/sudoplz/Development/SuperApp/mobile/ios
export IPHONEOS_DEPLOYMENT_TARGET=11.0
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -Xlinker -rpath -Xlinker /usr/lib/swift -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk -L/Users/sudoplz/Library/Developer/Xcode/DerivedData/MySuperApp-haxjchilyksewvdfcnnxwrulvyvy/Build/Products/Debug-iphonesimulator -L/Users/sudoplz/Library/Developer/Xcode/DerivedData/MySuperApp-haxjchilyksewvdfcnnxwrulvyvy/Build/Products/Debug-iphonesimulator/Amplitude
@SudoPlz
SudoPlz / README.md
Last active Aug 23, 2018
React-native import fixing script
View README.md

React-native import fixing script

This script fixes imports so that they work both with react-native link React projects and cocoapods React projects.

Usage:

./importFixingUtil.sh . RCTConvert

View CalendarUIImplementation.java
package com.acuityscheduling.app.android.Calendar.React;
import com.facebook.react.bridge.ReactApplicationContext;
import com.facebook.react.bridge.ReadableArray;
import com.facebook.react.bridge.ReadableMap;
import com.facebook.react.uimanager.ShadowNodeRegistry;
import com.facebook.react.uimanager.ThemedReactContext;
import com.facebook.react.uimanager.UIImplementation;
import com.facebook.react.uimanager.UIManagerModule;
import com.facebook.react.uimanager.ViewManager;
View HoldList.js
import _ from 'underscore';
export default class HoldList {
constructor() {
this.holdList = [];
this.runningRequestCnt = 0;
}
invokeAll(err, exclude) {