{"action":"created","issue":{"url":"https://api.github.com/repos/xamarin/Xamarin.Forms/issues/3677","repository_url":"https://api.github.com/repos/xamarin/Xamarin.Forms","labels_url":"https://api.github.com/repos/xamarin/Xamarin.Forms/issues/3677/labels{/name}","comments_url":"https://api.github.com/repos/xamarin/Xamarin.Forms/issues/3677/comments","events_url":"https://api.github.com/repos/xamarin/Xamarin.Forms/issues/3677/events","html_url":"https://github.com/xamarin/Xamarin.Forms/issues/3677","id":355065443,"node_id":"MDU6SXNzdWUzNTUwNjU0NDM=","number":3677,"title":"Updating Xamarin app to Xamarin.Forms app from playstore crashes","user":{"login":"MuthukumarA","id":23650828,"node_id":"MDQ6VXNlcjIzNjUwODI4","avatar_url":"https://avatars3.githubusercontent.com/u/23650828?v=4","gravatar_id":"","url":"https://api.github.com/users/MuthukumarA","html_url":"https://github.com/MuthukumarA","followers_url":"https://api.github.com/users/MuthukumarA/followers","following_url":"https://api.github.com/users/MuthukumarA/following{/other_user}","gists_url":"https://api.github.com/users/MuthukumarA/gists{/gist_id}","starred_url":"https://api.github.com/users/MuthukumarA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MuthukumarA/subscriptions","organizations_url":"https://api.github.com/users/MuthukumarA/orgs","repos_url":"https://api.github.com/users/MuthukumarA/repos","events_url":"https://api.github.com/users/MuthukumarA/events{/privacy}","received_events_url":"https://api.github.com/users/MuthukumarA/received_events","type":"User","site_admin":false},"labels":[{"id":770579964,"node_id":"MDU6TGFiZWw3NzA1Nzk5NjQ=","url":"https://api.github.com/repos/xamarin/Xamarin.Forms/labels/p/Android","name":"p/Android","color":"f9aee2","default":false},{"id":771881931,"node_id":"MDU6TGFiZWw3NzE4ODE5MzE=","url":"https://api.github.com/repos/xamarin/Xamarin.Forms/labels/s/needs-info%20%E2%9D%93","name":"s/needs-info ❓","color":"fcb95a","default":false},{"id":770948107,"node_id":"MDU6TGFiZWw3NzA5NDgxMDc=","url":"https://api.github.com/repos/xamarin/Xamarin.Forms/labels/s/needs-repro%20%E2%9D%94","name":"s/needs-repro ❔","color":"d93f0b","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-08-29T09:05:19Z","updated_at":"2018-10-14T21:16:35Z","closed_at":"2018-10-14T21:16:35Z","author_association":"NONE","body":"<!-- Bug report best practices: https://github.com/xamarin/Xamarin.Forms/wiki/Submitting-Issues -->\r\n\r\n### Description\r\nWe had an app in PlayStore which is developed in Xamarin.Android with code shared with Xamarin.iOS via Shared Project.\r\n\r\nNow we are switching to Xamarin.Forms. We have changed , Some UI Login mechanism with AutoLogin based on Token stored in local device.\r\n\r\nThe app working fine in Devices and Simulators.\r\n\r\nWe have uploaded our app to playstore. If the user have old version in their device, after update the app crashing after showing splashscreen for few seconds. If we uninstall the old version, it is working fine.\r\n\r\n### Steps to Reproduce\r\n\r\n1. Have the Xamarin App in device \r\n2. Update the app to Xamarin.Forms app in Playstore \r\n3.  Update the app in device \r\n4. Open the app\r\n\r\n### Expected Behavior\r\nApp should be opened and show login screen\r\n### Actual Behavior\r\nApp crashing after showing splashscreen\r\n### Basic Information\r\nError in google console:\r\n\r\n    java.lang.RuntimeException:\r\n\r\nat android.app.ActivityThread.performLaunchActivity (ActivityThread.java:2955)\r\n\r\nat android.app.ActivityThread.handleLaunchActivity (ActivityThread.java030)\r\n\r\nat android.app.ActivityThread.-wrap11 (Unknown Source)\r\n\r\nat android.app.ActivityThread$H.handleMessage (ActivityThread.java:1696)\r\n\r\nat android.os.Handler.dispatchMessage (Handler.java:105)\r\n\r\nat android.os.Looper.loop (Looper.java:164)\r\n\r\nat android.app.ActivityThread.main (ActivityThread.java:6938)\r\n\r\nat java.lang.reflect.Method.invoke (Native Method)\r\n\r\nat com.android.internal.os.Zygote$MethodAndArgsCaller.run (Zygote.java27)\r\n\r\nat com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1374)\r\n\r\nCaused by: java.lang.ClassCastException:\r\n\r\nat android.app.SharedPreferencesImpl.getLong (SharedPreferencesImpl.java:279)\r\n\r\nat md56c96bd185bfbb3ebebdd94ef17444e8f.MainActivity.n_onCreate (Native Method)\r\n\r\nat md56c96bd185bfbb3ebebdd94ef17444e8f.MainActivity.onCreate (MainActivity.java1)\r\n\r\nat android.app.Activity.performCreate (Activity.java:7174)\r\n\r\nat android.app.Instrumentation.callActivityOnCreate (Instrumentation.java:1220)\r\n\r\nat android.app.ActivityThread.performLaunchActivity (ActivityThread.java:2908)\r\n- Version with issue: \r\n- Last known good version:\r\n- IDE:\r\n- Platform Target Frameworks: <!-- All that apply -->\r\n  - iOS:  <!-- The version of the iOS SDK you are compiling against, e.g. 11.1 -->\r\n  - Android: <!-- The version of the Android SDK you are compiling against, e.g. 7.1 --> \r\n  - UWP:  <!-- The version of the UWP SDK you are compiling against, e.g. 16299 --> \r\n- Android Support Library Version: <!-- if applicable -->\r\n- Nuget Packages:\r\n- Affected Devices: All devices in iOS and Android\r\n\r\n### Screenshots\r\n\r\n<!-- If the issue is a visual issue, please include screenshots showing the problem if possible -->\r\n\r\n### Reproduction Link\r\n\r\n<!-- Please upload or provide a link to a reproduction case -->\r\n"},"comment":{"url":"https://api.github.com/repos/xamarin/Xamarin.Forms/issues/comments/429663358","html_url":"https://github.com/xamarin/Xamarin.Forms/issues/3677#issuecomment-429663358","issue_url":"https://api.github.com/repos/xamarin/Xamarin.Forms/issues/3677","id":429663358,"node_id":"MDEyOklzc3VlQ29tbWVudDQyOTY2MzM1OA==","user":{"login":"samhouts","id":7827070,"node_id":"MDQ6VXNlcjc4MjcwNzA=","avatar_url":"https://avatars3.githubusercontent.com/u/7827070?v=4","gravatar_id":"","url":"https://api.github.com/users/samhouts","html_url":"https://github.com/samhouts","followers_url":"https://api.github.com/users/samhouts/followers","following_url":"https://api.github.com/users/samhouts/following{/other_user}","gists_url":"https://api.github.com/users/samhouts/gists{/gist_id}","starred_url":"https://api.github.com/users/samhouts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samhouts/subscriptions","organizations_url":"https://api.github.com/users/samhouts/orgs","repos_url":"https://api.github.com/users/samhouts/repos","events_url":"https://api.github.com/users/samhouts/events{/privacy}","received_events_url":"https://api.github.com/users/samhouts/received_events","type":"User","site_admin":false},"created_at":"2018-10-14T21:16:35Z","updated_at":"2018-10-14T21:16:35Z","author_association":"MEMBER","body":"@MuthukumarA Since we haven't heard from you in more than 30 days, we hope that this issue is no longer affecting you. If it is, please feel free to reopen this issue and provide the requested information. Thank you for your report!"}}
{"actor":{"display_login":"samhouts"}}