![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@trycourier/react-native-inbox
Advanced tools
a react native library for trycourier integration
npm install @trycourier/react-native-inbox react-native-linear-gradient
yarn add @trycourier/react-native-inbox react-native-linear-gradient
for ios development, navigate to ios folder in project repository and update pod
pod update
wrap your parent component using CourierProvider
, provide clientKey
, userId
, brandId
as props
import React from 'react';
import { CourierProvider } from '@trycourier/react-native-inbox';
export default function App() {
return (
<CourierProvider clientKey={CLIENT_KEY} userId={USER_ID} brandId={BRAND_ID}>
.....
</CourierProvider>
);
}
import and use CourierScreen
anywhere in your child component
import { CourierScreen } from '@trycourier/react-native-inbox';
const Demo = () => {
return (
<View>
...
<CourierScreen onMessageClick={message => {
console.log('clicked message data', message);
}} />
...
</View>
);
};
import { BellIcon } from '@trycourier/react-native-inbox';
function BellIconScreen() {
return (
<View>
...
<BellIcon showUnreadMessageCount size="md" />
...
</View>
);
}
prop | description | default | type |
---|---|---|---|
onNewMessage | custom function to execute on getting a new Message | undefined | (message: ICourierMessage) => void |
prop | description | default | type |
---|---|---|---|
onMessageClick | custom function to execute on pressing a Message | undefined | (message: MessageType) => void |
prop | description | default | type |
---|---|---|---|
showUnreadMessageCount | shows number of unread messages as badge | false | boolean |
size | sets height and width of the bell icon and badge size | "md" | "md" | "sm" | "lg" |
render | renders custom component | undefined | (_numberOfUnreadMessages: number) => JSX.Element |
you can find a proper implementation example here.
MIT
FAQs
a react native library for tryCourier integration
The npm package @trycourier/react-native-inbox receives a total of 5 weekly downloads. As such, @trycourier/react-native-inbox popularity was classified as not popular.
We found that @trycourier/react-native-inbox demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.