Ver código fonte

[공통][New] 코드 정리

hyodong.min 7 anos atrás
pai
commit
467a04354b

+ 1 - 0
app/src/main/AndroidManifest.xml

@@ -48,6 +48,7 @@
       android:screenOrientation="portrait"
       android:windowSoftInputMode="adjustResize">
     </activity>
+
     <activity
       android:name="com.facebook.FacebookActivity"
       android:configChanges="keyboard|keyboardHidden|screenLayout|screenSize|orientation"

+ 0 - 15
app/src/main/java/kr/co/zumo/app/lifeplus/activity/MainActivity.java

@@ -52,21 +52,6 @@ public class MainActivity extends AppCompatActivity {
 
     Log.w("APP# MainActivity | onCreate", "| >>>>>>>>>>>>>> " + this.getClass().getSimpleName() + " HC: " + this.hashCode());
 
-    //keyHash t3rHcT2FsQfMLAqRFPFmJSxwyV8=
-//    try {
-//      PackageInfo info = getPackageManager().getPackageInfo(getPackageName(), PackageManager.GET_SIGNATURES);
-//      for (android.content.pm.Signature signature : info.signatures) {
-//        MessageDigest md = MessageDigest.getInstance("SHA");
-//        md.update(signature.toByteArray());
-//        Log.d("KeyHash:", Base64.encodeToString(md.digest(), Base64.DEFAULT));
-//
-//      }
-//    } catch (PackageManager.NameNotFoundException e) {
-//      e.printStackTrace();
-//    } catch (NoSuchAlgorithmException e) {
-//      e.printStackTrace();
-//    }
-
     new AppInitializer().init(App.getInstance().getContext());
 
     if (SuperModel.getInstance().isMember()) {

+ 3 - 1
app/src/main/java/kr/co/zumo/app/lifeplus/activity/SplashActivity.java

@@ -37,7 +37,9 @@ public class SplashActivity extends AppCompatActivity {
   @Override
   protected void onCreate(Bundle savedInstanceState) {
     super.onCreate(savedInstanceState);
-    Log.e("APP#  MainActivity | onCreate", "|getIntent().getData() : " + getIntent().getData());
+
+    // fixme 카카오톡 링크를 통해서 진입할 경우 데이터가 있다.
+    Log.e("APP#  SplashActivity | onCreate", "|getIntent().getData() : " + getIntent().getData());
 
     Log.e("APP#  SplashActivity | onCreate", "| -------------------------------------------------- ");
 

+ 1 - 8
app/src/main/res/values/strings.xml

@@ -621,14 +621,7 @@
   <string name="share_copy_completed_message">추천인 코드를 복사했습니다.</string>
   <string name="share_title">[Lifeplus] %s</string>
   <string name="share_recommend_code_subject">추천인 코드 공유</string>
-  <string name="share_recommend_code_contents">"[Lifeplus] 추천인 코드 공유\n\n
-추천인 코드: %s
-\n\n
-Lifeplus에서 더 다양한 컨텐츠를 확인하세요!
-\n\n
-아직 Lifeplus App이 없으시다면 아래 경로에서 다운로드 받으세요!
-\n\n
-App 다운로드 : http://www.lifeplus.co.kr"</string>
+  <string name="share_recommend_code_contents">"[Lifeplus] 추천인 코드 공유\n\n추천인 코드: %s\n\nLifeplus에서 더 다양한 컨텐츠를 확인하세요!\n\n아직 Lifeplus App이 없으시다면 아래 경로에서 다운로드 받으세요!\n\nApp 다운로드 : http://www.lifeplus.co.kr"</string>
   <string name="sending_email">"이메일 보내기"</string>
 
 </resources>