Skip to content

Commit 5e59803

Browse files
authored
Merge pull request #1 from OneSignalDevelopers/user-model
[WIP] Refresh sample for User Model
2 parents 3fa5c45 + 5a78ce1 commit 5e59803

File tree

29 files changed

+372
-395
lines changed

29 files changed

+372
-395
lines changed

.gitignore

Lines changed: 12 additions & 195 deletions
Original file line numberDiff line numberDiff line change
@@ -1,198 +1,15 @@
1-
2-
# Created by https://www.toptal.com/developers/gitignore/api/android,androidstudio,kotlin,firebase
3-
# Edit at https://www.toptal.com/developers/gitignore?templates=android,androidstudio,kotlin,firebase
4-
5-
### Android ###
6-
# Gradle files
7-
.gradle/
8-
build/
9-
10-
# Local configuration file (sdk path, etc)
11-
local.properties
12-
13-
# Log/OS Files
14-
*.log
15-
16-
# Android Studio generated files and folders
17-
captures/
18-
.externalNativeBuild/
19-
.cxx/
20-
*.apk
21-
output.json
22-
23-
# IntelliJ
241
*.iml
25-
.idea/
26-
misc.xml
27-
deploymentTargetDropDown.xml
28-
render.experimental.xml
29-
30-
# Keystore files
31-
*.jks
32-
*.keystore
33-
34-
# Google Services (e.g. APIs or Firebase)
35-
google-services.json
36-
37-
# Android Profiling
38-
*.hprof
39-
40-
### Android Patch ###
41-
gen-external-apklibs
42-
43-
# Replacement of .externalNativeBuild directories introduced
44-
# with Android Studio 3.5.
45-
46-
### Firebase ###
47-
.idea
48-
**/node_modules/*
49-
**/.firebaserc
50-
51-
### Firebase Patch ###
52-
.runtimeconfig.json
53-
.firebase/
54-
55-
### Kotlin ###
56-
# Compiled class file
57-
*.class
58-
59-
# Log file
60-
61-
# BlueJ files
62-
*.ctxt
63-
64-
# Mobile Tools for Java (J2ME)
65-
.mtj.tmp/
66-
67-
# Package Files #
68-
*.jar
69-
*.war
70-
*.nar
71-
*.ear
72-
*.zip
73-
*.tar.gz
74-
*.rar
75-
76-
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
77-
hs_err_pid*
78-
replay_pid*
79-
80-
### AndroidStudio ###
81-
# Covers files to be ignored for android development using Android Studio.
82-
83-
# Built application files
84-
*.ap_
85-
*.aab
86-
87-
# Files for the ART/Dalvik VM
88-
*.dex
89-
90-
# Java class files
91-
92-
# Generated files
93-
bin/
94-
gen/
95-
out/
96-
97-
# Gradle files
982
.gradle
99-
100-
# Signing files
101-
.signing/
102-
103-
# Local configuration file (sdk path, etc)
104-
105-
# Proguard folder generated by Eclipse
106-
proguard/
107-
108-
# Log Files
109-
110-
# Android Studio
111-
/*/build/
112-
/*/local.properties
113-
/*/out
114-
/*/*/build
115-
/*/*/production
116-
.navigation/
117-
*.ipr
118-
*~
119-
*.swp
120-
121-
# Keystore files
122-
123-
# Google Services (e.g. APIs or Firebase)
124-
# google-services.json
125-
126-
# Android Patch
127-
128-
# External native build folder generated in Android Studio 2.2 and later
3+
/local.properties
4+
/.idea/caches
5+
/.idea/libraries
6+
/.idea/modules.xml
7+
/.idea/workspace.xml
8+
/.idea/navEditor.xml
9+
/.idea/assetWizardSettings.xml
10+
.DS_Store
11+
/build
12+
/captures
12913
.externalNativeBuild
130-
131-
# NDK
132-
obj/
133-
134-
# IntelliJ IDEA
135-
*.iws
136-
/out/
137-
138-
# User-specific configurations
139-
.idea/
140-
.idea/caches/
141-
.idea/libraries/
142-
.idea/shelf/
143-
.idea/workspace.xml
144-
.idea/tasks.xml
145-
.idea/.name
146-
.idea/compiler.xml
147-
.idea/copyright/profiles_settings.xml
148-
.idea/encodings.xml
149-
.idea/misc.xml
150-
.idea/modules.xml
151-
.idea/scopes/scope_settings.xml
152-
.idea/dictionaries
153-
.idea/vcs.xml
154-
.idea/jsLibraryMappings.xml
155-
.idea/datasources.xml
156-
.idea/dataSources.ids
157-
.idea/sqlDataSources.xml
158-
.idea/dynamic.xml
159-
.idea/uiDesigner.xml
160-
.idea/assetWizardSettings.xml
161-
.idea/gradle.xml
162-
.idea/jarRepositories.xml
163-
.idea/navEditor.xml
164-
165-
# Legacy Eclipse project files
166-
.classpath
167-
.project
168-
.cproject
169-
.settings/
170-
171-
# Mobile Tools for Java (J2ME)
172-
173-
# Package Files #
174-
175-
# virtual machine crash logs (Reference: http://www.java.com/en/download/help/error_hotspot.xml)
176-
177-
## Plugin-specific files:
178-
179-
# mpeltonen/sbt-idea plugin
180-
.idea_modules/
181-
182-
# JIRA plugin
183-
atlassian-ide-plugin.xml
184-
185-
# Mongo Explorer plugin
186-
.idea/mongoSettings.xml
187-
188-
# Crashlytics plugin (for Android Studio and IntelliJ)
189-
com_crashlytics_export_strings.xml
190-
crashlytics.properties
191-
crashlytics-build.properties
192-
fabric.properties
193-
194-
### AndroidStudio Patch ###
195-
196-
!/gradle/wrapper/gradle-wrapper.jar
197-
198-
# End of https://www.toptal.com/developers/gitignore/api/android,androidstudio,kotlin,firebase
14+
.cxx
15+
local.properties

.idea/.gitignore

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/.name

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/compiler.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/deploymentTargetDropDown.xml

Lines changed: 17 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/gradle.xml

Lines changed: 18 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/kotlinc.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/misc.xml

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 70 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,73 @@ In Android Studio:
1818

1919
* File --> Open
2020
* You select the route where you made the 'clone' of the project, select and OK.
21-
* That's all and run example.
21+
* That's all and run example.
22+
23+
24+
![OneSignal](https://github.com/OneSignal/.github/blob/439e36ade56b001643ff3b07eeaf95b20129f3e6/assets/onesignal-banner.png)
25+
26+
<div align="center">
27+
<a href="https://documentation.onesignal.com/docs/onboarding-with-onesignal" target="_blank">Quickstart</a>
28+
<span>&nbsp;&nbsp;&nbsp;&nbsp;</span>
29+
<a href="https://onesignal.com/" target="_blank">Website</a>
30+
<span>&nbsp;&nbsp;&nbsp;&nbsp;</span>
31+
<a href="https://documentation.onesignal.com/docs" target="_blank">Docs</a>
32+
<span>&nbsp;&nbsp;&nbsp;&nbsp;</span>
33+
<a href="https://github.com/OneSignalDevelopers" target="_blank">Examples</a>
34+
<br />
35+
<hr />
36+
</div>
37+
38+
# OneSignal [**XYZ SDK**] Sample
39+
40+
OneSignal makes engaging customers simple and is the fastest, most reliable service to send push notifications, in-app messages, SMS, and emails.
41+
42+
This project demonstrates sending push notifications using [**OneSignal XYZ SDK**]. You can use this project as a boilerplate or reference to start your project.
43+
44+
## 🚦 Getting started
45+
46+
Thi s project assumes that you already have a OneSignal app created with push notifications setup. If you don't yet have a OneSignal app, [create one](https://documentation.onesignal.com/docs/apps-organizations#create-an-app) first, then follow the steps below to integrate the OneSignal SDK into your [Android](https://documentation.onesignal.com/docs/android-sdk-setup) or [iOS](https://documentation.onesignal.com/docs/ios-sdk-setup) app.
47+
48+
```md
49+
1. Step 1
50+
2. Step 2
51+
3. Step 3
52+
```
53+
54+
[☝️ replace with actual steps]
55+
56+
[Add relevant code snippets or additional context if necessary]
57+
58+
# Support
59+
60+
## Ask a question about OneSignal
61+
62+
You can ask questions about the OneSignal xxx SDK and related topics in the **onesignal-xxx-sdk** repository.
63+
64+
🙋‍♂️ [Ask a question](#)
65+
66+
[☝️ Update link to SDK repo issue template]
67+
68+
## Create a bug report
69+
70+
If you receive an error message or get blocked by an issue, please create a bug report!
71+
72+
🪳 [Create bug report](#)
73+
74+
[☝️ Update link to SDK repo issue template]
75+
76+
# ❤️ Developer Community
77+
78+
For additional resources, please join the [OneSignal Developer Community](https://onesignal.com/onesignal-developers).
79+
80+
Get in touch with us or learn more about OneSignal through the channels below.
81+
82+
- [Follow us on Twitter](https://twitter.com/onesignaldevs) to never miss any updates from the OneSignal team, ecosystem & community
83+
- [Join us on Discord](https://discord.gg/EP7gf6Uz7G) to be a part of the OneSignal Developers community, showcase your work and connect with other OneSignal developers
84+
- [Read the OneSignal Blog](https://onesignal.com/blog/) for the latest announcements, tutorials, in-depth articles & more.
85+
- [Subscribe to us on YouTube](https://www.youtube.com/channel/UCe63d5EDQsSkOov-bIE_8Aw/featured) for walkthroughs, courses, talks, workshops & more.
86+
- [Follow us on Twitch](https://www.twitch.tv/onesignaldevelopers) for live streams, office hours, support & more.
87+
88+
## Show your support
89+
90+
Give a ⭐️ if this project helped you, and watch this repo to stay up to date.

0 commit comments

Comments
 (0)