I made a widget (yay! first one!) that gets a rss feed via XMLHttpRequest. It works just fine in browsers. I'm so happy.
But when I made it a widget, it fails to load the data. I just get my default message that's "supposed" to be replaced by real data.
I did some research and as it turns out, I need to have accces keys in my plist file. That was easy.
I added this:
Now my widget won't launch, says it's invalid, and I can't open the plist file in Property List Editor anymore?
Why?
That's what "works".
Thanks for any help.
But when I made it a widget, it fails to load the data. I just get my default message that's "supposed" to be replaced by real data.
I did some research and as it turns out, I need to have accces keys in my plist file. That was easy.
I added this:
Code:
<key>AllowNetworkAccess</key>
<boolean>True</boolean>
Now my widget won't launch, says it's invalid, and I can't open the plist file in Property List Editor anymore?
Why?
Code:
<key>AllowNetworkAccess</key>
<boolean>True</boolean>
<key>CFBundleDisplayName</key>
<string>Armitunes.com Widget</string>
<key>CFBundleIdentifier</key>
<string>com.alexwait.widget.armitunes</string>
<key>CFBundleName</key>
<string>Armitunes.com Widget</string>
<key>CFBundleShortVersionString</key>
<string>0.1</string>
<key>CFBundleVersion</key>
<string>0.1</string>
<key>CloseBoxInsetX</key>
<integer>16</integer>
<key>CloseBoxInsetY</key>
<integer>14</integer>
<key>MainHTML</key>
<string>main.html</string>
<key>Height</key>
<integer>196</integer>
<key>Width</key>
<integer>500</integer>
That's what "works".
Thanks for any help.