Skip to content

Commit 9e94c88

Browse files
author
Anirudh S
committed
Change default HSApplication
1 parent 4e6b3ed commit 9e94c88

File tree

1 file changed

+3
-14
lines changed

1 file changed

+3
-14
lines changed

HelpStackExample/src/com/example/helpstackexample/HSApplication.java

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
import android.app.Application;
44

55
import com.tenmiles.helpstack.HSHelpStack;
6+
import com.tenmiles.helpstack.gears.HSEmailGear;
67
import com.tenmiles.helpstack.gears.HSZendeskGear;
78

89

@@ -17,8 +18,8 @@ public void onCreate() {
1718

1819
helpStack = HSHelpStack.getInstance(this);
1920

20-
// HSEmailGear emailGear = new HSEmailGear( "example@happyfox.com",R.xml.articles);
21-
// helpStack.setGear(emailGear);
21+
HSEmailGear emailGear = new HSEmailGear( "example@happyfox.com",R.xml.articles);
22+
helpStack.setGear(emailGear);
2223

2324

2425
/* Uncomment the following to use the Happyfox gear with appropriate support email address */
@@ -28,17 +29,5 @@ public void onCreate() {
2829
// "<Category ID>", "<Priority ID>");
2930
// helpStack.setGear(happyfoxGear);
3031

31-
HSZendeskGear zenDeskGear = new HSZendeskGear(
32-
"https://2robots1.zendesk.com/",
33-
"anirudh24seven@gmail.com",
34-
"WIgGdsweOaIlM1Ml50D9g3ejkFIFvBbKtlVF5MCK");
35-
helpStack.setGear(zenDeskGear);
36-
37-
// HSDeskGear deskGear = new HSDeskGear(
38-
// "https://2robots2.desk.com/",
39-
// "anirudh.24seven@gmail.com",
40-
// "anirudh.24seven@gmail.com",
41-
// "Temppassword123$");
42-
// helpStack.setGear(deskGear);
4332
}
4433
}

0 commit comments

Comments
 (0)