This repository has been archived by the owner on Apr 4, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 575
/
README.asmack
115 lines (92 loc) · 3.99 KB
/
README.asmack
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
aSmack README
=============
Version: $VERSION_TAG
Build date: $BUILD_DATE
Important Notes
===============
Requirements
------------
You have to call SmackAndroid.init(Context) (in
org.jivesoftware.smack) in order to initialize Smack on Android or
Smack won't work as expected!
Smack requires dnsjava for DNS SRV record lookup. You need to add the
dnsjava library to your project's libraries.
ProGuard
--------
If you use ProGuard, you have to configure it so that no important
Smack classes are optimized away:
# Smack specific configuration
-keep class de.measite.smack.AndroidDebugger { *; }
-keep class * implements org.jivesoftware.smack.initializer.SmackInitializer
-keep class * implements org.jivesoftware.smack.provider.IQProvider
-keep class * implements org.jivesoftware.smack.provider.PacketExtensionProvider
-keep class * extends org.jivesoftware.smack.packet.Packet
-keep class org.jivesoftware.smack.XMPPConnection
-keep class org.jivesoftware.smack.ReconnectionManager
-keep class org.jivesoftware.smack.CustomSmackConfiguration
-keep class org.jivesoftware.smackx.disco.ServiceDiscoveryManager
-keep class org.jivesoftware.smackx.xhtmlim.XHTMLManager
-keep class org.jivesoftware.smackx.muc.MultiUserChat
-keep class org.jivesoftware.smackx.bytestreams.ibb.InBandBytestreamManager
-keep class org.jivesoftware.smackx.bytestreams.socks5.Socks5BytestreamManager
-keep class org.jivesoftware.smackx.filetransfer.FileTransferManager
-keep class org.jivesoftware.smackx.iqlast.LastActivityManager
-keep class org.jivesoftware.smackx.commands.AdHocCommandManager
-keep class org.jivesoftware.smackx.ping.PingManager
-keep class org.jivesoftware.smackx.privacy.PrivacyListManager
-keep class org.jivesoftware.smackx.time.EntityTimeManager
-keep class org.jivesoftware.smackx.vcardtemp.VCardManager
Problems / Debugging
==============================
aSmack Wiki
-----------
More information about XMPP File Transfers, SSL Certificates and other
stuff related to aSmack can be found in the wiki:
https://github.com/Flowdalic/asmack/wiki
How to debug your problem
-------------------------
We always provide source zips. Attach them to the jar in your favorite
IDE. Enable debugging mode with XMPPConnection.DEBUG and
config.setDebug. See also:
http://www.igniterealtime.org/builds/smack/docs/latest/documentation/debugging.html
Reporting a bug
---------------
Your issue should contain
1. a logcat
2. a server to reproduce
3. the code you are using (for FOSS project we'll accept repository URLs)
If you record a logcat, make sure to remove your credentials
(usually a base64 block inside <auth></auth>).
There is no guarantee that we will reply immediately. But we will try
to investigate the problem. Feel free to join #smack @ freenode and
ask for help (you may have to idle for some time before you get a
reply).
Open Source Licenses
====================
aSmack consists of the following components:
* Smack (XMPP Client Library)
Copyright © 2003-2010 Jive Software
Copyright © 2001-2004 Apache Software Foundation
Copyright © 2011-2014 Florian Schmaus
Copyright © 2013 Georg Lukas
Copyright © 2013 Robin Collier
Copyright © 2009 Jonas Ådahl
Apache License, Version 2.0
* aSmack custom code (various glue stuff)
Copyright © 2011-2014 Florian Schmaus
Copyright © 2009-2010 Rene Treffer
Apache License, Version 2.0
* Apache Harmony (SASL/XML)
Copyright © 2006, 2010 Apache Software Foundation
Apache License, Version 2.0
* novell-openldap-jldap (SASL)
Copyright © 2002-2003 Novell, Inc.
OpenLDAP Public License, Version 2.8
* Apache qpid (SASL)
Copyright © 2006-2008 Apache Software Foundation
Apache License, Version 2.0
License texts:
* Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0
* OpenLDAP Public License, Version 2.8: http://www.openldap.org/devel/gitweb.cgi?p=openldap-jldap.git;a=blob_plain;f=LICENSE;h=05ad7571e448b9d83ead5d4691274d9484574714;hb=HEAD
Component Revision Information for this Release
===============================================