Skip to content

Commit 4e6b3ed

Browse files
author
Anirudh S
committed
Removing unnecessary <application> attributes and updating README
Updates to README: - The <application> attaributes weren’t necessary. Removed instructions for it. - Made the Email gear more prominent in the intro section - Mentioned that developers should choose 1 of the 4 gears - Updated HappyFox & Zendesk example domains to something more generic
1 parent 71271e1 commit 4e6b3ed

File tree

3 files changed

+12
-38
lines changed

3 files changed

+12
-38
lines changed

HelpStackExample/AndroidManifest.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
android:allowBackup="true"
1616
android:icon="@drawable/hs_launcher"
1717
android:label="@string/app_name"
18-
android:theme="@style/HSAppBaseTheme" android:name="HSApplication"
19-
tools:replace="theme, label">
18+
android:theme="@style/HSAppBaseTheme"
19+
android:name="HSApplication">
2020
<activity
2121
android:name="com.example.helpstackexample.MainActivity"
2222
android:label="@string/app_name" >

README.md

Lines changed: 9 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ HelpStack supports the following leading helpdesk solutions:
1818
- [Zendesk](https://www.zendesk.com/)
1919
- [Desk.com](http://www.desk.com/)
2020

21-
If you don't have a helpdesk solution, you can still configure HelpStack for users to raise requests via email.
21+
- Email - If you don't have a helpdesk solution, you can still configure HelpStack for users to raise requests via email.
22+
23+
You can choose any 1 of the 4 options mentioned above, to get started with HelpStack.
2224

2325
Check out [helpstack.io](http://www.helpstack.io) for more information.
2426

@@ -37,16 +39,6 @@ Installating the HelpStack library is fairly straight-forward.
3739

3840
manifestmerger.enabled=true
3941
40-
41-
- **[Error]: Attribute is already present**: Replace the necessary attribute. For example:
42-
43-
<manifest
44-
xmlns:tools="http://schemas.android.com/tools"
45-
...>
46-
47-
<application
48-
tools:replace="android:label"
49-
...>
5042

5143
- **[Error]: Jar mismatch! Found different versions of jar in the dependency list**: Replace the jar in the library with the jar from your project. Clean the project and build again.
5244

@@ -65,16 +57,6 @@ Installating the HelpStack library is fairly straight-forward.
6557
}
6658

6759

68-
- **[Error]: Attribute is already present**: Replace the necessary attribute. For example:
69-
70-
<manifest
71-
xmlns:tools="http://schemas.android.com/tools"
72-
...>
73-
74-
<application
75-
tools:replace="android:label"
76-
...>
77-
7860
- **[Issue]: Duplicate files copied in APK**: This happens due to library version-mismatch. To avoid using the library from HelpStack, exclude it when you add the dependency. For example:
7961

8062
compile ('com.tenmiles:helpstack:1.0') {
@@ -135,13 +117,11 @@ Obtain the necessary credentials for the gear of your choice and create a suitab
135117

136118
The API key and Auth code can be found in your HappyFox account under *Manage* > *Integrations*. You can generate an API key and Auth code by clicking on the API configure link.
137119

138-
Priority ID and Category ID cannot be nil. These are the ID's of the priority and the category with which tickets will be created. Setting the Section ID of your KB articles is optional.
139-
140-
*Example*:
120+
Priority ID and Category ID cannot be nil. These are the ID's of the priority and the category with which tickets will be created. Setting the Section ID of your KB articles is optional. Navigate to the following URL's in your HappyFox account, to obtain the necessary details:
141121

142-
https://example.happyfox.com/api/1.1/json/priorities/
143-
https://example.happyfox.com/api/1.1/json/categories/
144-
https://example.happyfox.com/api/1.1/json/kb/sections/
122+
https://<HappyFox account domain>/api/1.1/json/priorities/
123+
https://<HappyFox account domain>/api/1.1/json/categories/
124+
https://<HappyFox account domain>/api/1.1/json/kb/sections/
145125

146126

147127
##### ii. Zendesk:
@@ -172,11 +152,9 @@ Priority ID and Category ID cannot be nil. These are the ID's of the priority an
172152
173153
}
174154

175-
The token can be found in your Zendesk account under Settings > Channels > API. Setting the Section ID of your Help Center articles is optional.
176-
177-
*Example*:
155+
The token can be found in your Zendesk account under Settings > Channels > API. Setting the Section ID of your Help Center articles is optional. You can find the sections in your Zendesk account, as mentioned below:
178156

179-
https://example.zendesk.com/api/v2/help_center/sections.json
157+
https://<Zendesk account domain>/api/v2/help_center/sections.json
180158

181159

182160
##### iii. Desk:

helpstack/AndroidManifest.xml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,7 @@
1111
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
1212
<uses-permission android:name="android.permission.INTERNET" />
1313

14-
<application
15-
android:allowBackup="true"
16-
android:icon="@drawable/hs_launcher"
17-
android:label="@string/hs_app_name"
18-
android:theme="@style/HSAppTheme" >
14+
<application >
1915
<activity
2016
android:name="com.tenmiles.helpstack.activities.HomeActivity"
2117
android:label="@string/hs_app_name" android:exported="false">

0 commit comments

Comments
 (0)