NatashaDawra / gtalksms

Automatically exported from code.google.com/p/gtalksms
0 stars 0 forks source link

SMS delivered notification displayed although delivery notifications are disabled in preferences. #213

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
===  IMPORTANT - READ THIS!  ===
An app log will help us greatly to analyze the problem. So ALWAYS generate
an AppLog, even if it does not show anything (which will tell use that we
have to improve the log part ;-) ).
http://code.google.com/p/gtalksms/wiki/GenerateAppLog
================================

What steps will reproduce the problem?
1. Preference -> notification settings -> SMS delivered unchecked
2. Sms sent to different numbers
3. Sms delivered notification always displayed (with additional charges by the 
operator)

What is the expected output?
No sms delivered notification displayed

What do you see instead?
Sms delivered notification always displayed.

Additional informations:
Phone model: HTC desire with cyanogenmod 7.1-RC1 (Android 2.3.4), Gtalksms V3.1

Original issue reported on code.google.com by luca.car...@gmail.com on 23 Aug 2011 at 7:29

GoogleCodeExporter commented 8 years ago
I am unable to reproduce this behaviour. The next GTalkSMS version will produce 
more log messages regarding this issue. Please generate an app log with the 
upcoming GTalkSMS version.

Original comment by fschm...@gmail.com on 25 Aug 2011 at 10:46

GoogleCodeExporter commented 8 years ago
Ok mate, i'll provide the log as soon as the new version will be released!
Many thanks in advance!

Original comment by luca.car...@gmail.com on 25 Aug 2011 at 2:23

GoogleCodeExporter commented 8 years ago
This is the log i've generated, I've deleted my personal info but the sms was 
correctly sent.

GTalkSMS Preferences
notifiedAddress: xxx@gmail.com
useDifferentAccount: true
useGoogleMapUrl: true
locale: default
smsMagicWord: GTalkSMS
manuallySpecifyServerSettings: false
batteryNotificationInterval: 10
serviceName: gmail.com
showStatusIcon: true
useCompression: false
notificationIncomingSmsType: same
notifyBatteryInStatus: true
login: xxx@gmail.com
xmppSecurityMode: opt
debugLog: true
smsNumber: 5
notifySmsSent: true
callLogsNumber: 10
roomPassword: gtalksms
serverHost: talk.google.com
serverPort: 5222
mucServer: conference.jwchat.org
notifyApplicationConnection: true
notifyIncomingCalls: true
GTalkSMS Version: 3.2
Android API: 10
Kernel info: 2.6.37.6-cyanogenmod-g37556d9
kali@giovanni )
#1 PREEMPT Sat Jun 18 15:48:02 EDT 2011
--------- beginning of /dev/log/system
--------- beginning of /dev/log/main
08-29 08:47:30.535 I/gtalksms( 3402): onCreate(): service thread created
08-29 08:47:35.030 I/gtalksms( 3402): teardownListenersForConnection()
08-29 08:47:35.040 I/gtalksms( 3402): service destroyed
08-29 08:47:35.080 I/gtalksms( 3402): LocationService onStart with intent 
action=com.googlecode.gtalksms.LOCATION_STOP_SERVICE
08-29 08:49:05.318 I/gtalksms( 3402): onCreate(): service thread created
08-29 08:49:12.044 I/gtalksms( 3402): teardownListenersForConnection()
08-29 08:49:12.044 I/gtalksms( 3402): service destroyed
08-29 08:49:12.084 I/gtalksms( 3402): LocationService onStart with intent 
action=com.googlecode.gtalksms.LOCATION_STOP_SERVICE
08-29 08:49:16.939 I/gtalksms( 3402): onCreate(): service thread created
08-29 08:49:23.205 I/gtalksms( 3402): onStartCommand(): Intent 
com.googlecode.gtalksms.action.TOGGLE
08-29 08:49:23.265 I/gtalksms( 3402): handling action 
'com.googlecode.gtalksms.action.TOGGLE' while in state Disconnected
08-29 08:49:23.275 I/gtalksms( 3402): broadcasting state transition from 
Disconnected to Connecting via Intent 
com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED
08-29 08:49:23.315 I/gtalksms( 3402): onStartCommand(): Intent 
com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED
08-29 08:49:26.999 I/gtalksms( 3402): Update presence: xxx@gmail.com - Offline
08-29 08:49:26.999 I/gtalksms( 3402): Begin retrival of offline messages from 
server
08-29 08:49:28.010 I/gtalksms( 3402): connection established with parameters: 
con=true auth=true enc=true comp=false
08-29 08:49:28.010 I/gtalksms( 3402): onStartCommand(): Intent 
com.googlecode.gtalksms.action.SEND
08-29 08:49:28.020 I/gtalksms( 3402): broadcasting state transition from 
Connecting to Connected via Intent 
com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED
08-29 08:49:28.040 I/gtalksms( 3402): handled action 
'com.googlecode.gtalksms.action.TOGGLE' - state now: Connected
08-29 08:49:28.040 I/gtalksms( 3402): setupListenersForConnection()
08-29 08:49:28.040 I/gtalksms( 3402): handling action 
'com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED' while in state 
Connected
08-29 08:49:28.040 I/gtalksms( 3402): handled action 
'com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED' - state now: Connected
08-29 08:49:28.040 I/gtalksms( 3402): handling action 
'com.googlecode.gtalksms.action.SEND' while in state Connected
08-29 08:49:28.040 I/gtalksms( 3402): Sending message "Welcome to GTalkSMS v3.2 
@ Yakoo. S..."
08-29 08:49:28.070 I/gtalksms( 3402): handled action 
'com.googlecode.gtalksms.action.SEND' - state now: Connected
08-29 08:49:28.100 I/gtalksms( 3402): onStartCommand(): Intent 
com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED
08-29 08:49:28.100 I/gtalksms( 3402): handling action 
'com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED' while in state 
Connected
08-29 08:49:28.100 I/gtalksms( 3402): handled action 
'com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED' - state now: Connected
08-29 08:51:48.510 I/gtalksms( 3402): XMPP packet received - sending Intent: 
com.googlecode.gtalksms.action.XMPP.MESSAGE_RECEIVED
08-29 08:51:48.520 I/gtalksms( 3402): onStartCommand(): Intent 
com.googlecode.gtalksms.action.XMPP.MESSAGE_RECEIVED
08-29 08:51:48.530 I/gtalksms( 3402): handling action 
'com.googlecode.gtalksms.action.XMPP.MESSAGE_RECEIVED' while in state Connected
08-29 08:51:48.530 D/gtalksms( 3402): onCommandReceived(): "sms:xxx:sms text"
08-29 08:51:48.650 I/gtalksms( 3402): Sending message "Sending SMS to receiver 
(340..." to xxx@gmail.com/gmail.EF6B4868
08-29 08:51:49.030 I/gtalksms( 3402): SmsCmd sendSMSByPhoneNumber() - creating 
SentPendingIntents
08-29 08:51:49.040 I/gtalksms( 3402): SmsCmd sendSMSByPhoneNumber() - creating 
DeliveredPendingIntents
08-29 08:51:49.090 I/gtalksms( 3402): handled action 
'com.googlecode.gtalksms.action.XMPP.MESSAGE_RECEIVED' - state now: Connected
08-29 08:51:51.422 I/gtalksms( 3402): PendingIntentReceiver onReceive(): 
intent=Intent { act=com.googlecode.gtalksms.action.SMS_SENT (has extras) } 
smsID= 3 partNum=0 result=-1
08-29 08:51:51.432 I/gtalksms( 3402): Sending message "SMS "sms text" to 
xxx@gmail.com/gmail.EF6B4868
08-29 08:51:58.510 I/gtalksms( 3402): PendingIntentReceiver onReceive(): 
intent=Intent { act=com.googlecode.gtalksms.action.SMS_DELIVERED (has extras) } 
smsID= 3 partNum=0 result=-1
08-29 08:51:58.540 I/gtalksms( 3402): Sending message "SMS delivered. SMS "sms 
text" to xxx@gmail.com/gmail.EF6B4868
08-29 08:52:04.540 I/gtalksms( 3402): Update presence: xxx@gmail.com - Offline
08-29 08:52:14.669 I/gtalksms( 3402): XMPP packet received - sending Intent: 
com.googlecode.gtalksms.action.XMPP.MESSAGE_RECEIVED
08-29 08:52:14.669 I/gtalksms( 3402): onStartCommand(): Intent 
com.googlecode.gtalksms.action.XMPP.MESSAGE_RECEIVED
08-29 08:52:14.669 I/gtalksms( 3402): handling action 
'com.googlecode.gtalksms.action.XMPP.MESSAGE_RECEIVED' while in state Connected
08-29 08:52:14.669 D/gtalksms( 3402): onCommandReceived(): "exit"
08-29 08:52:14.669 I/gtalksms( 3402): handled action 
'com.googlecode.gtalksms.action.XMPP.MESSAGE_RECEIVED' - state now: Connected
08-29 09:00:45.570 I/gtalksms( 3402): Update presence: xxx@gmail.com - Offline
08-29 09:00:47.971 I/gtalksms( 3402): onStartCommand(): Intent 
com.googlecode.gtalksms.action.TOGGLE
08-29 09:00:47.971 I/gtalksms( 3402): handling action 
'com.googlecode.gtalksms.action.TOGGLE' while in state Connected
08-29 09:00:47.981 I/gtalksms( 3402): broadcasting state transition from 
Connected to Disconnecting via Intent 
com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED
08-29 09:00:48.001 I/gtalksms( 3402): disconnectING xmpp connection
08-29 09:00:48.011 I/gtalksms( 3402): onStartCommand(): Intent 
com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED
08-29 09:00:48.011 I/gtalksms( 3402): ConnectionListener: connectionClosed() 
called - connection was shutdown by foreign host or by us
08-29 09:00:48.692 I/gtalksms( 3402): disconnectED xmpp connection. Took: 0.0 s
08-29 09:00:48.722 I/gtalksms( 3402): broadcasting state transition from 
Disconnecting to Disconnected via Intent 
com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED
08-29 09:00:48.742 I/gtalksms( 3402): handled action 
'com.googlecode.gtalksms.action.TOGGLE' - state now: Disconnected
08-29 09:00:48.742 I/gtalksms( 3402): we are disconnected, but more pending 
intents to be delivered - service will not stop
08-29 09:00:48.742 I/gtalksms( 3402): teardownListenersForConnection()
08-29 09:00:48.762 I/gtalksms( 3402): onStartCommand(): Intent 
com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED
08-29 09:00:48.762 I/gtalksms( 3402): handling action 
'com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED' while in state 
Disconnected
08-29 09:00:48.762 I/gtalksms( 3402): handled action 
'com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED' - state now: 
Disconnected
08-29 09:00:48.772 I/gtalksms( 3402): we are disconnected, but more pending 
intents to be delivered - service will not stop
08-29 09:00:48.772 I/gtalksms( 3402): handling action 
'com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED' while in state 
Disconnected
08-29 09:00:48.772 I/gtalksms( 3402): handled action 
'com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED' - state now: 
Disconnected
08-29 09:00:48.772 I/gtalksms( 3402): service is stopping because we are 
disconnected and no pending intents exist
08-29 09:00:48.782 I/gtalksms( 3402): LocationService onStart with intent 
action=com.googlecode.gtalksms.LOCATION_STOP_SERVICE
08-29 09:00:48.782 I/gtalksms( 3402): LocationService onStart with intent 
action=com.googlecode.gtalksms.LOCATION_STOP_SERVICE
08-29 09:00:50.444 I/gtalksms( 3402): broadcasting state transition from 
Disconnected to Disconnecting via Intent 
com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED
08-29 09:00:50.464 I/gtalksms( 3402): broadcasting state transition from 
Disconnecting to Disconnected via Intent 
com.googlecode.gtalksms.action.XMPP.CONNECTION_CHANGED
08-29 09:00:50.464 I/gtalksms( 3402): teardownListenersForConnection()
08-29 09:00:50.484 I/gtalksms( 3402): service destroyed
08-29 09:00:50.534 I/gtalksms( 3402): LocationService onStart with intent 
action=com.googlecode.gtalksms.LOCATION_STOP_SERVICE
08-29 09:00:50.534 I/gtalksms( 3402): LocationService onStart with intent 
action=com.googlecode.gtalksms.LOCATION_STOP_SERVICE

Original comment by luca.car...@gmail.com on 29 Aug 2011 at 7:13

GoogleCodeExporter commented 8 years ago
This issue was closed by revision 474e2e47e689.

Original comment by fschm...@gmail.com on 29 Aug 2011 at 8:09

GoogleCodeExporter commented 8 years ago
Please check and uncheck the preference to disable delivery notifications until 
a fixed version is released to android market.

Original comment by fschm...@gmail.com on 29 Aug 2011 at 8:12

GoogleCodeExporter commented 8 years ago
Same issue in GTalkSMS 3.2

I receive delivery notifications with or without checking the preference. 

Original comment by ravenu...@gmail.com on 1 Sep 2011 at 7:28

GoogleCodeExporter commented 8 years ago
Please generate and send us an app log when this happens.

Did you check and uncheck the preference?

Original comment by fschm...@gmail.com on 1 Sep 2011 at 11:29

GoogleCodeExporter commented 8 years ago

Original comment by fschm...@gmail.com on 9 Sep 2011 at 9:42

GoogleCodeExporter commented 8 years ago
the same problem for me, htc desire on cyanogenmod 7.1.0 stable on gtalksms v3.2

Original comment by alberto....@gmail.com on 16 Oct 2011 at 1:00

GoogleCodeExporter commented 8 years ago
i tried to check and uncheck the preference, i disconnect and close the app and 
then reconnected, now it seems to work. Htc desire on cyanogenmod 7.1.0 stable, 
android 2.3.7, gtalksms v3.2

Original comment by alberto....@gmail.com on 16 Oct 2011 at 1:31