will1971 / google-cast-sdk

Automatically exported from code.google.com/p/google-cast-sdk
0 stars 0 forks source link

iOS GCKDevice -setAttribute:forKey: always crashes #768

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Every time -setAttribute:forKey: is called on GCKDevice, the host app will 
crash. It looks like whatever backing dictionary is being used for storage here 
is a regular NSDictionary instead of an NSMutableDictionary.

Original issue reported on code.google.com by max.goed...@gmail.com on 23 Feb 2016 at 9:57

GoogleCodeExporter commented 8 years ago
We would suggest to check out reference ios cast implementation 
(https://developers.google.com/cast/docs/ios_sender) scroll to bottom to access 
links to github. Try to use these sample apps for your implementation and let 
us know if the problem exists on them.

If so, could you please provide more details as requested below
1) Are you observing this issue recently ( i meant is the issue observed on 
latest sdk or older versions)?
2) Also let us know SDK version you are using.
3) If possible, give us more details about the crash. (if it can be shared, 
attach snippet of crash logs). What is the value returned when you are using 
the function?
4) Let us know which chromecast device are you using (Generation 1 or 2 ) and 
its firmware version.

Original comment by vinot...@google.com on 24 Feb 2016 at 11:34

GoogleCodeExporter commented 8 years ago
1: Recently
2: Latest SDK (2.10.1 at time of writing), can demo in your reference
implementation.
3: Logs and screenshot attached
4: Gen 2, fully updated (1.17.48342). This appears to be an SDK issue not
related to the device, fwiw.

Screenshot: http://d.mxg.io/1dWEn
Log snippet: http://d.mxg.io/1cq75
You can repro by inserting what I have on line 220:

    deviceManager.device.setAttribute("Test", forKey: "Key")

Original comment by max.goed...@gmail.com on 25 Feb 2016 at 3:56

GoogleCodeExporter commented 8 years ago
We are looking into the issue and will update soon.

Original comment by vinot...@google.com on 25 Feb 2016 at 11:05

GoogleCodeExporter commented 8 years ago
The issue is fixed and is expected to be in SDK version 2.10.2 or 2.10.3

Original comment by vinot...@google.com on 26 Feb 2016 at 11:37