Skip to content

Instantly share code, notes, and snippets.

@AsteriskZuo
AsteriskZuo / rn_ios_patch_config.rb
Last active December 4, 2024 09:11
react native ios patch configuration
require_relative '../node_modules/react-native/scripts/react_native_pods'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
min_ios_version_supported = 12.4
platform :ios, min_ios_version_supported.to_s
install! 'cocoapods', :deterministic_uuids => false
def __apply_flipper_post_install_workaround(installer)
# https://github.com/facebook/react-native/issues/43335#issuecomment-1982794252
installer.pods_project.targets.each do |target|
@AsteriskZuo
AsteriskZuo / .clang-format
Created June 15, 2020 07:46 — forked from idelsink/.clang-format
Clang format file.
# clang-format
# Made by: Ingmar Delsink
# idelsink.com
# See http://clang.llvm.org/docs/ClangFormatStyleOptions.html
# Tested with: clang-format version 3.7.1
# General
#########
# The style used for all options not specifically set in the configuration.
# Hello, and welcome to makefile basics.
#
# You will learn why `make` is so great, and why, despite its "weird" syntax,
# it is actually a highly expressive, efficient, and powerful way to build
# programs.
#
# Once you're done here, go to
# http://www.gnu.org/software/make/manual/make.html
# to learn SOOOO much more.