Skip to content
This repository was archived by the owner on Apr 15, 2023. It is now read-only.
This repository was archived by the owner on Apr 15, 2023. It is now read-only.

Error after basic setup #94

@youssef-md

Description

@youssef-md

After installing react-native-quick-actions, linking it and adding the example from the README:

QuickActions.setShortcutItems([
	{
		type: 'Orders', // Required
		title: 'See your orders', // Optional, if empty, `type` will be used instead
		subtitle: 'See orders',
		icon: 'Contact', // Icons instructions below
		userInfo: {
			props: 'foo bar' // Provide any custom data like deep linking URL
		}
	}
]);

DeviceEventEmitter.addListener('quickActionsShortcut', data => {
	console.log(`QUICK ACTION: ${ data }`);
});

QuickActions.popInitialAction().then(data => {
	console.log(`QUICK ACTION: ${ data }`);
});

This error happens:
photo_2020-02-14_23-23-58

React Native version: 0.61.5
Tested phone: Zenfone 4
Android Version: 8.0.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions