Skip to content

Instantly share code, notes, and snippets.

View sjchmiela's full-sized avatar
🕊️
Have a great day!

Stanisław Chmiela sjchmiela

🕊️
Have a great day!
View GitHub Profile
did:3:kjzl6cwe1jw149mirjgelfbzv1103e0cyyqz2a0szlpf0gbh8tzhdz9lb7jpf3f
2020-05-28 13:29:06.906 30192-30566/? A/libc: Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 30566 (mqt_js), pid 30192 (st.exp.exponent)
2020-05-28 13:29:07.106 30571-30571/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
2020-05-28 13:29:07.106 30571-30571/? A/DEBUG: Build fingerprint: 'google/sdk_gphone_x86/generic_x86:10/QSR1.190920.001/5891938:user/release-keys'
2020-05-28 13:29:07.106 30571-30571/? A/DEBUG: Revision: '0'
2020-05-28 13:29:07.106 30571-30571/? A/DEBUG: ABI: 'x86'
2020-05-28 13:29:07.120 30571-30571/? A/DEBUG: Timestamp: 2020-05-28 13:29:07+0200
2020-05-28 13:29:07.120 30571-30571/? A/DEBUG: pid: 30192, tid: 30566, name: mqt_js >>> host.exp.exponent <<<
2020-05-28 13:29:07.120 30571-30571/? A/DEBUG: uid: 10136
2020-05-28 13:29:07.120 30571-30571/? A/DEBUG: signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
2020-05-28 13:29:07.120 30571-30571/? A/DEBUG: eax 00000000 ebx 000075f0 ecx 00007766 edx 00000006
2020-05-28 11:19:42.301 25459-25666/host.exp.exponent A/libc: Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 25666 (mqt_js), pid 25459 (st.exp.exponent)
2020-05-28 11:19:42.435 25672-25672/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
2020-05-28 11:19:42.435 25672-25672/? A/DEBUG: Build fingerprint: 'google/sdk_gphone_x86/generic_x86:10/QSR1.190920.001/5891938:user/release-keys'
2020-05-28 11:19:42.435 25672-25672/? A/DEBUG: Revision: '0'
2020-05-28 11:19:42.435 25672-25672/? A/DEBUG: ABI: 'x86'
2020-05-28 11:19:42.436 25672-25672/? A/DEBUG: Timestamp: 2020-05-28 11:19:42+0200
2020-05-28 11:19:42.436 25672-25672/? A/DEBUG: pid: 25459, tid: 25666, name: mqt_js >>> host.exp.exponent <<<
2020-05-28 11:19:42.436 25672-25672/? A/DEBUG: uid: 10136
2020-05-28 11:19:42.436 25672-25672/? A/DEBUG: signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
2020-05-28 11:19:42.436 25672-25672/? A/DEBUG: eax 00000000 ebx 00006373 ecx 00006442 edx 00000006
diff --git a/node_modules/expo-notifications/ios/EXNotifications/Notifications/EXNotificationCenterDelegate.m b/node_modules/expo-notifications/ios/EXNotifications/Notifications/EXNotificationCenterDelegate.m
index 0ec4290..644c297 100644
--- a/node_modules/expo-notifications/ios/EXNotifications/Notifications/EXNotificationCenterDelegate.m
+++ b/node_modules/expo-notifications/ios/EXNotifications/Notifications/EXNotificationCenterDelegate.m
@@ -123,11 +123,21 @@ __block void (^completionHandlerCaller)(void) = ^{
- (void)userNotificationCenter:(UNUserNotificationCenter *)center didReceiveNotificationResponse:(UNNotificationResponse *)response withCompletionHandler:(void (^)(void))completionHandler
{
- if ([_delegates count] == 0) {
+ // Save response to pending responses array if none of the handlers will handle it.
import React from 'react';
import { StyleSheet, Text, View, Button } from 'react-native';
import * as Notifications from 'expo-notifications';
Notifications.setNotificationHandler({
handleSuccess: notificationIdentifier => {
// dismiss every notification immediately after it is presented
Notifications.dismissNotificationAsync(notificationIdentifier);
},
handleNotification: async () => ({
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '10.0'
target 'exponent-view-template' do
pod 'ExpoKit',
# git...,
:subspecs => [
"Core"
],
:inhibit_warnings => true
Generating Pods project
- Creating Pods project
- Adding source files to Pods project
- Adding frameworks to Pods project
- Adding libraries to Pods project
- Adding resources to Pods project
- Adding development pod helper files to Pods project
- Linking headers
- Installing targets
- Installing target `Amplitude-iOS` iOS 6.0
platform :ios, '10.0'
require_relative '../node_modules/react-native-unimodules/cocoapods.rb'
# don't just copy and paste this, notice that the target names should align with what is already in your Podfile
target 'YourAppNameHere' do
pod 'React', :path => '../node_modules/react-native', :subspecs => [
'Core',
'CxxBridge',
'DevSupport',
export * from "./expo-nativescript-adapter.common";
export const NativeModulesProxy = {};
const provider = EXModuleRegistryProvider.new();
const moduleRegistry = provider.moduleRegistryForExperienceId(
"@sjchmiela/test"
);
const exportedModules = moduleRegistry.getAllExportedModules();
for (let i = 0; i < exportedModules.count; i++) {
@@ -1,7 +1,8 @@
{
"compilerOptions": {
- "target": "esnext",
- "lib": ["dom", "esnext"],
+ "target": "es5",
+ "module": "commonjs",
+ "lib": ["dom", "es6"],
"jsx": "react-native",
"moduleResolution": "node",