[Xamarin/Android]어플 삭제 할 경우 기존 저장된 sqlite 데이타도 초기화 > APP Dev

본문 바로가기
사이트 내 전체검색

APP Dev

[Xamarin/Android]어플 삭제 할 경우 기존 저장된 sqlite 데이타도 초기화

페이지 정보

작성자 sbLAB 댓글 0건 조회 1,929회 작성일 19-03-09 20:38

본문

Q) Old data appears in SQLite database when reinstalling app .. why  ?


어플 삭제 할 경우 기존 저장된 sqlite 데이타도 초기화 하기 ==> 자동백업복구옵션 비활성화


AndroidManifest.xml 파일에 아래 옵션 추가 


<application  android:allowBackup="false" />




[설명]

android:allowBackup

Whether to allow the application to participate in the backup and restore infrastructure. If this attribute is set to false, no backup or restore of the application will ever be performed, even by a full-system backup that would otherwise cause all application data to be saved via adb. The default value of this attribute is true.


https://stackoverflow.com/questions/43711590/old-data-appears-in-sqlite-database-when-reinstalling-app 

댓글목록

등록된 댓글이 없습니다.

회원로그인

접속자집계

오늘
311
어제
513
최대
1,279
전체
222,874

그누보드5
Copyright © sebom.com All rights reserved.