react-native-netmera 1.4.8 → 1.5.0-alpha01
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/ISSUE_TEMPLATE/bug_report.md +23 -0
- package/.github/ISSUE_TEMPLATE/feature.md +17 -0
- package/.github/ISSUE_TEMPLATE/release.md +19 -0
- package/.github/PULL_REQUEST_TEMPLATE.md +28 -0
- package/.github/workflows/run-prettier-action.yaml +21 -0
- package/.idea/aws.xml +11 -0
- package/.idea/inspectionProfiles/Project_Default.xml +7 -0
- package/.idea/jsLibraryMappings.xml +6 -0
- package/.prettierignore +8 -0
- package/README.md +207 -342
- package/android/.gradle/4.10.1/fileHashes/fileHashes.bin +0 -0
- package/android/.gradle/4.10.1/fileHashes/fileHashes.lock +0 -0
- package/android/build.gradle +2 -2
- package/android/src/main/java/com/netmera/reactnativesdk/RNNetmera.java +16 -1
- package/android/src/main/java/com/netmera/reactnativesdk/RNNetmeraModule.java +10 -0
- package/index.ts +28 -0
- package/ios/RNNetmera.m +5 -1
- package/package.json +13 -3
- package/src/Netmera.ts +257 -0
- package/src/models/NMCategoryPreference.ts +9 -0
- package/src/models/NMInboxStatus.ts +7 -0
- package/src/models/NMInboxStatusCountFilter.ts +13 -0
- package/src/models/NetmeraCategory.ts +14 -0
- package/src/models/NetmeraCategoryFilter.ts +9 -0
- package/src/models/NetmeraEvent.ts +7 -0
- package/src/models/NetmeraInbox.ts +25 -0
- package/src/models/NetmeraInboxFilter.ts +10 -0
- package/src/models/NetmeraUser.ts +96 -0
- package/tsconfig.json +3 -0
- package/index.js +0 -19
- package/src/Netmera.js +0 -223
- package/src/NetmeraInbox.js +0 -95
- package/src/NetmeraUser.js +0 -92
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: Bug report
|
|
3
|
+
about: Describe a bug that needs to be fixed
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
**Describe the bug**
|
|
8
|
+
<!--- A clear and concise description of what the bug is. -->
|
|
9
|
+
|
|
10
|
+
**To Reproduce**
|
|
11
|
+
Steps to reproduce the behavior:
|
|
12
|
+
|
|
13
|
+
**Expected behavior**
|
|
14
|
+
<!--- A clear and concise description of what you expected to happen. -->
|
|
15
|
+
|
|
16
|
+
**Testing**
|
|
17
|
+
<!--- A clear and concise description of how to test the fix. -->
|
|
18
|
+
|
|
19
|
+
**Screenshots**
|
|
20
|
+
<!--- If applicable, add screenshots to help explain your problem. -->
|
|
21
|
+
|
|
22
|
+
**Additional context**
|
|
23
|
+
<!--- Add any other context about the problem here. -->
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: Feature
|
|
3
|
+
about: Describe a feature for this project
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
**Is your feature related to a problem? Please describe.**
|
|
7
|
+
<!--- A clear and concise description of what the problem is. -->
|
|
8
|
+
<!--- Ex. I'm always frustrated when [...] -->
|
|
9
|
+
|
|
10
|
+
**Testing**
|
|
11
|
+
<!--- A clear and concise description of how to test the fix. -->
|
|
12
|
+
|
|
13
|
+
**Additional context**
|
|
14
|
+
<!--- Add any other context or screenshots about the feature here. -->
|
|
15
|
+
|
|
16
|
+
**Acceptance criteria**
|
|
17
|
+
<!--- A list of the conditions that a software product must meet to be accepted by a user, a customer, or other system. -->
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: Release
|
|
3
|
+
about: Describe a mobile app release.
|
|
4
|
+
---
|
|
5
|
+
**Type of release.**
|
|
6
|
+
<!--- Is this a Pre Release or a Prod release? -->
|
|
7
|
+
|
|
8
|
+
**New features**
|
|
9
|
+
<!-- Replace ADD_TIME_PERIOD_HERE with the scope of the release -->
|
|
10
|
+
<!-- Add new release features below. -->
|
|
11
|
+
We have completed the mobile dev worked the platform team had scoped out for the month of ADD_TIME_PERIOD_HERE and now it is time to deploy a new release.
|
|
12
|
+
Details for this build are as follows:
|
|
13
|
+
|
|
14
|
+
**Additional context**
|
|
15
|
+
<!--- Add any other context or screenshots about the feature here. -->
|
|
16
|
+
|
|
17
|
+
**Acceptance criteria**
|
|
18
|
+
<!--- A list of the conditions that a software product must meet to be accepted by a user, a customer, or other system. -->
|
|
19
|
+
Testers report no issues.
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
## Related Issue
|
|
2
|
+
<!--- PRs should be related to open issues. -->
|
|
3
|
+
<!--- If suggesting a new feature or change, please discuss it in an issue first. -->
|
|
4
|
+
<!--- If fixing a bug, there should be an issue describing it with steps to reproduce it. -->
|
|
5
|
+
|
|
6
|
+
<!--- Link to the issue here: -->
|
|
7
|
+
ISSUE LINK: https://app.asana.com/0/1203144541549209/ISSUE_NUMBER
|
|
8
|
+
|
|
9
|
+
## Description
|
|
10
|
+
<!--- Describe your changes in detail -->
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
## Types of changes
|
|
14
|
+
<!--- What types of changes does your code introduce? Delete options that are not relevant: -->
|
|
15
|
+
|
|
16
|
+
- [ ] Bug fix (non-breaking change which fixes an issue)
|
|
17
|
+
- [ ] New feature (non-breaking change which adds functionality)
|
|
18
|
+
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
|
|
19
|
+
|
|
20
|
+
## How Has This Been Tested?
|
|
21
|
+
<!--- Describe in detail how you tested your changes. -->
|
|
22
|
+
<!--- Include details of your testing environment, and the tests you ran to -->
|
|
23
|
+
<!--- see how your change affects other areas of the code, etc. -->
|
|
24
|
+
|
|
25
|
+
## Screenshots or Sample Output
|
|
26
|
+
~~~
|
|
27
|
+
PASTE_OUTPUT_HERE
|
|
28
|
+
~~~
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
name: run-prettier-action
|
|
2
|
+
on:
|
|
3
|
+
pull_request:
|
|
4
|
+
branches:
|
|
5
|
+
- main
|
|
6
|
+
- develop
|
|
7
|
+
jobs:
|
|
8
|
+
check-bats-version:
|
|
9
|
+
runs-on: ubuntu-latest
|
|
10
|
+
|
|
11
|
+
steps:
|
|
12
|
+
- uses: actions/checkout@v3
|
|
13
|
+
- name: Test using Node.js
|
|
14
|
+
uses: actions/setup-node@v3
|
|
15
|
+
with:
|
|
16
|
+
node-version: "14.x"
|
|
17
|
+
- run: yarn install
|
|
18
|
+
- run: cd example && yarn install && cd ..
|
|
19
|
+
- run: yarn prettier --check .
|
|
20
|
+
- run: yarn tsc
|
|
21
|
+
- run: yarn eslint .
|
package/.idea/aws.xml
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<project version="4">
|
|
3
|
+
<component name="accountSettings">
|
|
4
|
+
<option name="activeRegion" value="us-east-1" />
|
|
5
|
+
<option name="recentlyUsedRegions">
|
|
6
|
+
<list>
|
|
7
|
+
<option value="us-east-1" />
|
|
8
|
+
</list>
|
|
9
|
+
</option>
|
|
10
|
+
</component>
|
|
11
|
+
</project>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<component name="InspectionProjectProfileManager">
|
|
2
|
+
<profile version="1.0">
|
|
3
|
+
<option name="myName" value="Project Default" />
|
|
4
|
+
<inspection_tool class="Eslint" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
5
|
+
<inspection_tool class="TsLint" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
6
|
+
</profile>
|
|
7
|
+
</component>
|