1.0.0-beta • Published 3 years ago

@amar-mobile-sdk/rn-senyumku-sdk v1.0.0-beta

Weekly downloads
-
License
MIT
Repository
bitbucket
Last release
3 years ago

rn-senyumku-sdk

Senyumku SDK for React Native

Installation

coming soon

Usage

Embedding Widget

import { RnSenyumkuSdkWidget } from "@tunaiku.npm/rn-senyumku-sdk";

// ...

<RnSenyumkuSdkWidget style={{flex:1}} />

Direct Debit

import { DirectDebitModule } from '@tunaiku.npm/rn-senyumku-sdk'

...
 const doDirectDebit = () => {
    DirectDebitModule.showDirectDebitDialog({
      amount: 10000,
    })
      .then((result) => {
        console.log(result);
      })
      .catch((error) => {
        Alert.alert('Error', error.message);
      });
  };

...
<Button title="Direct Debit" onPress={doDirectDebit} />

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT


Made with create-react-native-library

1.0.0-beta

3 years ago

0.5.0

3 years ago

0.4.0

3 years ago

0.3.0

3 years ago