This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| module Fastlane | |
| module Actions | |
| module SharedValues | |
| REFRESH_IPA_JS_BUNDLE_CUSTOM_VALUE = :REFRESH_IPA_JS_BUNDLE_CUSTOM_VALUE | |
| end | |
| class RefreshIpaJsBundleAction < Action | |
| def self.run(params) | |
| require 'fastlane/actions/resign' | |
| unzipped_path = "./ipa_unzipped" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| version: 2.1 | |
| commands: | |
| restore-ios-ipa-cache: | |
| parameters: | |
| env: | |
| type: enum | |
| enum: ['staging', 'prod'] | |
| steps: | |
| - restore_cache: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Install wget | |
| apt update -qq && apt install -qq -y --no-install-recommends wget | |
| # Install yq | |
| version=v4.45.1 | |
| binary=yq_linux_amd64 | |
| wget https://github.com/mikefarah/yq/releases/download/${version}/${binary}.tar.gz -O - |\ | |
| tar xz && mv ${binary} /usr/bin/yq | |
| # Install apktool |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| module Fastlane | |
| module Actions | |
| module SharedValues | |
| REFRESH_APK_JS_BUNDLE_CUSTOM_VALUE = :REFRESH_APK_JS_BUNDLE_CUSTOM_VALUE | |
| end | |
| class RefreshApkJsBundleAction < Action | |
| def self.run(params) | |
| # fastlane will take care of reading in the parameter and fetching the environment variable: | |
| require 'fastlane/actions/gradle' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import android.os.Bundle | |
| import com.facebook.react.bridge.Arguments | |
| import com.facebook.react.bridge.WritableMap | |
| object ReactNativeFirebaseMessagingSerializer { | |
| fun klaviyoNotificationExtrasToWritableMap( | |
| extras: Bundle? | |
| ): WritableMap? { | |
| val notificationMap = Arguments.createMap() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React from 'react'; | |
| import { View } from './view'; | |
| const MyScreen = () => { | |
| return Array.from(Array(5000).keys()).map((i) => (<View key={i} />)); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import FastImage from 'react-native-fast-image'; | |
| return ( | |
| <FastImage | |
| useLastImageAsDefaultSource | |
| source={source} | |
| /> | |
| ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <RootStack.Navigator> | |
| <RootStack.Screen name="other-screen" component={OtherScreen} /> | |
| <RootStack.Group | |
| screenOptions={{ | |
| presentation: 'containedTransparentModal', | |
| animation: 'slide_from_bottom', | |
| }}> | |
| <RootStack.Screen name="g-modal" component={GModal} /> | |
| </RootStack.Group> | |
| </RootStack.Navigator> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| // put this inside /.vscode dir | |
| // Use IntelliSense to learn about possible attributes. | |
| // Hover to view descriptions of existing attributes. | |
| // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | |
| "version": "0.2.0", | |
| "configurations": [ | |
| { | |
| "name": "Attach to packager", | |
| "request": "attach", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * The first commented line is your dabblet’s title | |
| */ | |
| background: #f06; | |
| background: linear-gradient(45deg, #f06, yellow); | |
| min-height: 100%; |
NewerOlder